Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 108.4 kB / 18.36 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 191 kB / 19.29 MB, free: 3.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 47.92 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09561, allocations: 46.62 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005868/0.1015, allocations: 3.727 MB / 332.4 MB, free: 12 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.1038, allocations: 1.006 MB / 333.5 MB, free: 15 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003028/0.1042, allocations: 15.94 kB / 333.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.1046, allocations: 146.8 kB / 333.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.1056, allocations: 270.5 kB / 333.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.1061, allocations: 143.8 kB / 334 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001927/0.108, allocations: 1.416 MB / 335.4 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.1099, allocations: 1.11 MB / 336.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.1111, allocations: 0.623 MB / 337.2 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.1126, allocations: 0.755 MB / 337.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003056/0.1129, allocations: 160 kB / 338.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.1133, allocations: 156 kB / 338.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000617/0.1139, allocations: 462.7 kB / 338.7 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.1149, allocations: 0.7233 MB / 339.4 MB, free: 8.996 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.1176, allocations: 2.025 MB / 341.4 MB, free: 6.965 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1176, allocations: 0 / 341.4 MB, free: 6.965 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.1176, allocations: 0 / 341.4 MB, free: 6.965 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.253e-05/0.1177, allocations: 0 / 341.4 MB, free: 6.965 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00406/0.1218, allocations: 1.66 MB / 343.1 MB, free: 5.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.949e-05/0.1219, allocations: 11.89 kB / 343.1 MB, free: 5.238 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/0.1222, allocations: 139.3 kB / 343.2 MB, free: 5.102 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.1239, allocations: 0.8189 MB / 344.1 MB, free: 4.242 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-05/0.124, allocations: 86.59 kB / 344.1 MB, free: 4.156 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.1243, allocations: 111.9 kB / 344.3 MB, free: 4.047 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/0.1277, allocations: 1.537 MB / 345.8 MB, free: 2.465 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.1277, allocations: 0 / 345.8 MB, free: 2.465 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002193/0.128, allocations: 48 kB / 345.8 MB, free: 2.418 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/0.128, allocations: 28 kB / 345.9 MB, free: 2.391 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003115/0.1311, allocations: 1.308 MB / 347.2 MB, free: 1.074 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009051/0.1402, allocations: 4.17 MB / 351.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.1421, allocations: 1.314 MB / 352.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009541/0.143, allocations: 462.5 kB / 353.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.1431, allocations: 12.42 kB / 353.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.1432, allocations: 39 kB / 353.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 3.657e-06/0.1432, allocations: 0 / 353.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.004617/0.1478, allocations: 1.938 MB / 355.1 MB, free: 8.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.1479, allocations: 59.78 kB / 355.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.1495, allocations: 0.8204 MB / 356 MB, free: 7.871 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.107e-05/0.1496, allocations: 37.7 kB / 356 MB, free: 7.828 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006491/0.1502, allocations: 0.5375 MB / 356.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.1505, allocations: 177.4 kB / 356.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.1508, allocations: 102.2 kB / 356.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002518/0.151, allocations: 386.7 kB / 357.2 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007773/0.1518, allocations: 304.9 kB / 357.5 MB, free: 6.312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007398/0.1526, allocations: 403.3 kB / 357.9 MB, free: 5.887 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.154, allocations: 0.7106 MB / 358.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.154, allocations: 0 / 358.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002213/0.1562, allocations: 0.9087 MB / 359.5 MB, free: 4.227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.1563, allocations: 8 kB / 359.5 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.1563, allocations: 7.938 kB / 359.5 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003985/0.1567, allocations: 112.7 kB / 359.6 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/0.1574, allocations: 127.9 kB / 359.8 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.1597, allocations: 2.364 MB / 362.1 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004254/0.1601, allocations: 35.94 kB / 362.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.1602, allocations: 16 kB / 362.2 MB, free: 1.418 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006928/0.1609, allocations: 465.5 kB / 362.6 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.161, allocations: 71.16 kB / 362.7 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.1612, allocations: 91.06 kB / 362.8 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1612, allocations: 8 kB / 362.8 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1613, allocations: 0 / 362.8 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.1613, allocations: 3.938 kB / 362.8 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/0.1647, allocations: 2.017 MB / 364.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1647, allocations: 0 / 364.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.1651, allocations: 87.88 kB / 364.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002598/0.1654, allocations: 104.9 kB / 365 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.1654, allocations: 19.98 kB / 365 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.1677, allocations: 2.325 MB / 367.3 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1677, allocations: 4.031 kB / 367.4 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.1694, allocations: 1.2 MB / 368.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.1697, allocations: 164.3 kB / 368.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.1698, allocations: 12 kB / 368.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.1702, allocations: 47.95 kB / 368.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.1703, allocations: 44.25 kB / 368.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.1704, allocations: 20 kB / 368.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007764/0.1712, allocations: 0.5849 MB / 369.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1712, allocations: 7.938 kB / 369.4 MB, free: 9.879 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007648/0.172, allocations: 208 kB / 369.6 MB, free: 9.676 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001583/0.1721, allocations: 111.2 kB / 369.7 MB, free: 9.559 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.1735, allocations: 0.8164 MB / 370.6 MB, free: 8.727 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.1735, allocations: 7.938 kB / 370.6 MB, free: 8.719 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007466/0.1742, allocations: 485.7 kB / 371 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008904/0.1751, allocations: 190.9 kB / 371.2 MB, free: 8.047 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.1789, allocations: 2.187 MB / 373.4 MB, free: 5.809 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.1799, allocations: 1.332 MB / 374.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004356/0.1804, allocations: 181.8 kB / 374.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.1805, allocations: 47.44 kB / 375 MB, free: 4.223 MB / 318.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1806, allocations: 0 / 375 MB, free: 4.223 MB / 318.1 MB Notification: Performance of Templates: time 0.1616/0.3422, allocations: 10.44 MB / 385.4 MB, free: 51.67 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches