Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 191.6 kB / 17.38 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 226.5 MB / 244.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007674/0.0007674, allocations: 109 kB / 296.8 MB, free: 6.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002315/0.0002315, allocations: 4 kB / 356.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2038, allocations: 51.29 MB / 408 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.002695/0.2066, allocations: 3.256 MB / 411.3 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2081, allocations: 0.9958 MB / 412.3 MB, free: 23.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003271/0.2084, allocations: 21.69 kB / 412.3 MB, free: 23.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.2087, allocations: 111.2 kB / 412.4 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000743/0.2095, allocations: 272.9 kB / 412.7 MB, free: 23.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.2097, allocations: 77.17 kB / 412.8 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.2108, allocations: 1.502 MB / 414.3 MB, free: 21.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009127/0.2117, allocations: 1.031 MB / 415.3 MB, free: 20.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005253/0.2122, allocations: 478.2 kB / 415.8 MB, free: 19.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007025/0.213, allocations: 0.6303 MB / 416.4 MB, free: 19.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.2131, allocations: 76 kB / 416.5 MB, free: 19.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.2134, allocations: 80 kB / 416.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.2136, allocations: 366.8 kB / 416.9 MB, free: 18.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005762/0.2142, allocations: 0.6082 MB / 417.5 MB, free: 18.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009677/0.2152, allocations: 1.649 MB / 419.2 MB, free: 16.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2152, allocations: 0 / 419.2 MB, free: 16.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2152, allocations: 0 / 419.2 MB, free: 16.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.237e-05/0.2152, allocations: 0 / 419.2 MB, free: 16.5 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002276/0.2175, allocations: 1.489 MB / 420.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2176, allocations: 8.031 kB / 420.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005188/0.2181, allocations: 175.2 kB / 420.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.2192, allocations: 0.8578 MB / 421.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/0.2193, allocations: 86.62 kB / 421.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.2194, allocations: 111.9 kB / 421.9 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.2214, allocations: 1.572 MB / 423.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.2214, allocations: 0 / 423.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.848e-05/0.2215, allocations: 48 kB / 423.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.2215, allocations: 28 kB / 423.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.2232, allocations: 1.332 MB / 424.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004898/0.2281, allocations: 4.361 MB / 429.2 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008098/0.2289, allocations: 1.332 MB / 430.5 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/0.2297, allocations: 0.5651 MB / 431.1 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.2297, allocations: 4.438 kB / 431.1 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.2297, allocations: 39 kB / 431.2 MB, free: 4.023 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 2.214e-06/0.2297, allocations: 0 / 431.2 MB, free: 4.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001135/0.2309, allocations: 0.8847 MB / 432 MB, free: 3.137 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.2309, allocations: 63.78 kB / 432.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007984/0.2317, allocations: 0.8165 MB / 432.9 MB, free: 2.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.2317, allocations: 37.7 kB / 433 MB, free: 2.191 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.232, allocations: 0.5493 MB / 433.5 MB, free: 1.633 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.174e-05/0.2321, allocations: 177.4 kB / 433.7 MB, free: 1.457 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.2321, allocations: 12 kB / 433.7 MB, free: 1.445 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.2322, allocations: 382.7 kB / 434.1 MB, free: 1.062 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.2325, allocations: 304.9 kB / 434.4 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.2329, allocations: 398.5 kB / 434.8 MB, free: 356 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008662/0.2338, allocations: 0.702 MB / 435.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2338, allocations: 0 / 435.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00116/0.235, allocations: 0.8297 MB / 436.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2351, allocations: 8 kB / 436.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2351, allocations: 0 / 436.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2351, allocations: 4 kB / 436.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.2357, allocations: 156.1 kB / 436.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.2357, allocations: 4 kB / 436.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.2361, allocations: 75.28 kB / 436.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.2361, allocations: 16 kB / 436.5 MB, free: 14.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000537/0.2366, allocations: 461.4 kB / 437 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.2367, allocations: 75.16 kB / 437.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.2369, allocations: 95.06 kB / 437.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2369, allocations: 4 kB / 437.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2369, allocations: 0 / 437.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.237, allocations: 7.922 kB / 437.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.2398, allocations: 1.97 MB / 439.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.2398, allocations: 4 kB / 439.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.2403, allocations: 128 kB / 439.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2403, allocations: 0 / 439.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.2403, allocations: 16 kB / 439.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2403, allocations: 0 / 439.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.2404, allocations: 11.92 kB / 439.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.2421, allocations: 1.133 MB / 440.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.2423, allocations: 172.1 kB / 440.6 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/0.2424, allocations: 23.98 kB / 440.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/0.2428, allocations: 51.95 kB / 440.7 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.419e-05/0.2429, allocations: 40.27 kB / 440.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.243, allocations: 19.98 kB / 440.7 MB, free: 10.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006966/0.2437, allocations: 0.5849 MB / 441.3 MB, free: 9.602 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2437, allocations: 0 / 441.3 MB, free: 9.602 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006461/0.2443, allocations: 282.8 kB / 441.6 MB, free: 9.324 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001386/0.2445, allocations: 118.7 kB / 441.7 MB, free: 9.203 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009919/0.2455, allocations: 0.6541 MB / 442.4 MB, free: 8.547 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.2455, allocations: 4.062 kB / 442.4 MB, free: 8.543 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004454/0.2459, allocations: 326.2 kB / 442.7 MB, free: 8.227 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009246/0.2469, allocations: 173.6 kB / 442.9 MB, free: 8.055 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.2503, allocations: 2.73 MB / 445.6 MB, free: 5.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000849/0.2511, allocations: 1.313 MB / 446.9 MB, free: 3.926 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.2513, allocations: 59.42 kB / 447 MB, free: 3.867 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2513, allocations: 0 / 447 MB, free: 3.867 MB / 314.7 MB Notification: Performance of Templates: time 0.01546/0.2668, allocations: 13.12 MB / 460.1 MB, free: 6.797 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches