Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009892/0.0009892, allocations: 87.58 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 165 kB / 24.56 MB, free: 4 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9572/0.9572, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.977e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005575/0.005605, allocations: 3.773 MB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.007705, allocations: 1.02 MB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.008022, allocations: 27.81 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.00833, allocations: 158.8 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009216/0.009252, allocations: 298 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.009584, allocations: 139.8 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.01071, allocations: 1.447 MB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006464/0.01136, allocations: 0.6313 MB / 280.4 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.01253, allocations: 0.9356 MB / 281.4 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009927/0.01352, allocations: 0.7561 MB / 282.1 MB, free: 8.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002546/0.01378, allocations: 160 kB / 282.3 MB, free: 8.133 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.01402, allocations: 156 kB / 282.4 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.01434, allocations: 490.6 kB / 282.9 MB, free: 7.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005352/0.01487, allocations: 0.5184 MB / 283.4 MB, free: 6.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.01603, allocations: 1.238 MB / 284.7 MB, free: 5.738 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.01604, allocations: 4 kB / 284.7 MB, free: 5.734 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.01604, allocations: 0 / 284.7 MB, free: 5.734 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.612e-05/0.01608, allocations: 0 / 284.7 MB, free: 5.734 MB / 266.7 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.00209/0.01817, allocations: 1.773 MB / 286.5 MB, free: 3.918 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.01821, allocations: 16.03 kB / 286.5 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004484/0.01866, allocations: 256 kB / 286.7 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008493/0.01951, allocations: 0.7557 MB / 287.5 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/0.01956, allocations: 82.59 kB / 287.6 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.01967, allocations: 116.4 kB / 287.7 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.02091, allocations: 1.024 MB / 288.7 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.02093, allocations: 4 kB / 288.7 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-05/0.02099, allocations: 40 kB / 288.7 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.02102, allocations: 28 kB / 288.8 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.02173, allocations: 380.8 kB / 289.1 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1411/0.1628, allocations: 3.376 MB / 292.5 MB, free: 24.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/0.1634, allocations: 352.7 kB / 292.9 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.1637, allocations: 192.3 kB / 293 MB, free: 24.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.1637, allocations: 9.141 kB / 293.1 MB, free: 24.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1637, allocations: 40.8 kB / 293.1 MB, free: 24.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 4.037e-06/0.1637, allocations: 3.406 kB / 293.1 MB, free: 24.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001776/0.1655, allocations: 1.039 MB / 294.1 MB, free: 23.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.1655, allocations: 59.31 kB / 294.2 MB, free: 23.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000672/0.1662, allocations: 0.6863 MB / 294.9 MB, free: 23.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1662, allocations: 36.03 kB / 294.9 MB, free: 23.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.1665, allocations: 0.6306 MB / 295.5 MB, free: 23.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.273e-05/0.1666, allocations: 190 kB / 295.7 MB, free: 23.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1667, allocations: 112.3 kB / 295.8 MB, free: 23.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1669, allocations: 0.5835 MB / 296.4 MB, free: 22.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.167, allocations: 76.23 kB / 296.5 MB, free: 22.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.1672, allocations: 222.1 kB / 296.7 MB, free: 22.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.1676, allocations: 321.1 kB / 297 MB, free: 22.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1676, allocations: 1.188 kB / 297 MB, free: 22.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000613/0.1682, allocations: 472.8 kB / 297.5 MB, free: 21.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.1682, allocations: 10.03 kB / 297.5 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.1682, allocations: 2.875 kB / 297.5 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/0.1684, allocations: 73.08 kB / 297.6 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.1688, allocations: 114.1 kB / 297.7 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.1699, allocations: 2.346 MB / 300 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.1701, allocations: 23.98 kB / 300.1 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.1702, allocations: 18.91 kB / 300.1 MB, free: 19.79 MB / 266.7 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.0001914/0.1703, allocations: 187.7 kB / 300.3 MB, free: 19.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.1704, allocations: 95.98 kB / 300.4 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.1705, allocations: 81.73 kB / 300.4 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1705, allocations: 9.094 kB / 300.4 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.1705, allocations: 1.344 kB / 300.4 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1705, allocations: 6.766 kB / 300.5 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.1723, allocations: 1.456 MB / 301.9 MB, free: 18.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.1723, allocations: 2.219 kB / 301.9 MB, free: 18.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.1726, allocations: 84.98 kB / 302 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/0.1727, allocations: 77.55 kB / 302.1 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.1728, allocations: 10.36 kB / 302.1 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.1738, allocations: 2.326 MB / 304.4 MB, free: 16.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1738, allocations: 8.281 kB / 304.4 MB, free: 16.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007343/0.1745, allocations: 0.6755 MB / 305.1 MB, free: 16.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.1746, allocations: 80.23 kB / 305.2 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.1747, allocations: 17.88 kB / 305.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.1749, allocations: 40.81 kB / 305.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.175, allocations: 58.2 kB / 305.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.175, allocations: 17.25 kB / 305.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003935/0.1754, allocations: 434.6 kB / 305.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1754, allocations: 1.156 kB / 305.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006568/0.176, allocations: 208.4 kB / 305.9 MB, free: 15.84 MB / 266.7 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.0001275/0.1762, allocations: 116.5 kB / 306 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006827/0.1768, allocations: 0.504 MB / 306.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1768, allocations: 0 / 306.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.1772, allocations: 388.4 kB / 306.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.1777, allocations: 165.3 kB / 307.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.1804, allocations: 1.912 MB / 309 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.1807, allocations: 362.7 kB / 309.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002853/0.181, allocations: 137.7 kB / 309.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.426e-05/0.181, allocations: 48.06 kB / 309.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of SimCode: time 1.663e-06/0.181, allocations: 4 kB / 309.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of Templates: time 0.01294/0.194, allocations: 10.81 MB / 320.3 MB, free: 4.906 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.968296153936535]