Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001409/0.001409, allocations: 166.1 kB / 24.82 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9816/0.9816, allocations: 177 MB / 205.1 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.564e-05, allocations: 9.266 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005586/0.005612, allocations: 5.777 MB / 279.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003578/0.00919, allocations: 2.102 MB / 281.2 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008448/0.01003, allocations: 55.62 kB / 281.3 MB, free: 9.258 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009371/0.01097, allocations: 401.3 kB / 281.7 MB, free: 8.863 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.01255, allocations: 0.6055 MB / 282.3 MB, free: 8.254 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.01303, allocations: 239.6 kB / 282.5 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001999/0.01503, allocations: 2.318 MB / 284.8 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.01651, allocations: 1.143 MB / 286 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.01894, allocations: 1.631 MB / 287.6 MB, free: 2.871 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.02045, allocations: 1.204 MB / 288.8 MB, free: 1.664 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005301/0.02098, allocations: 292 kB / 289.1 MB, free: 1.379 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006198/0.0216, allocations: 383.8 kB / 289.5 MB, free: 1.004 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004672/0.02207, allocations: 0.7596 MB / 290.2 MB, free: 248 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1049/0.127, allocations: 0.8628 MB / 291.1 MB, free: 18.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002921/0.1299, allocations: 2.051 MB / 293.1 MB, free: 17.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1299, allocations: 0 / 293.1 MB, free: 17.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1299, allocations: 1.062 kB / 293.1 MB, free: 17.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000103/0.13, allocations: 0 / 293.1 MB, free: 17.84 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.003822/0.1339, allocations: 2.51 MB / 295.6 MB, free: 16.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1339, allocations: 13.2 kB / 295.7 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007931/0.1347, allocations: 433.8 kB / 296.1 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.136, allocations: 1.142 MB / 297.2 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.102e-05/0.136, allocations: 133.6 kB / 297.3 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.1362, allocations: 176.5 kB / 297.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.1379, allocations: 1.468 MB / 299 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.138, allocations: 1.312 kB / 299 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.1381, allocations: 76.06 kB / 299.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.113e-05/0.1382, allocations: 108.2 kB / 299.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008322/0.139, allocations: 481.6 kB / 299.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005352/0.1444, allocations: 5.98 MB / 305.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.1448, allocations: 356.5 kB / 306 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.145, allocations: 192 kB / 306.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.1451, allocations: 39.72 kB / 306.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1451, allocations: 42.36 kB / 306.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.633e-06/0.1451, allocations: 4 kB / 306.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001309/0.1465, allocations: 0.9922 MB / 307.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.1465, allocations: 93.97 kB / 307.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007672/0.1472, allocations: 1.169 MB / 308.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.1473, allocations: 37.58 kB / 308.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/0.1476, allocations: 1.123 MB / 309.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.691e-05/0.1477, allocations: 213.5 kB / 309.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.1479, allocations: 268.8 kB / 310.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.086e-05/0.148, allocations: 0.5591 MB / 310.7 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.1481, allocations: 99.38 kB / 310.8 MB, free: 9.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.1484, allocations: 1.096 MB / 311.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/0.1491, allocations: 1.303 MB / 313.2 MB, free: 7.059 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.1491, allocations: 5.906 kB / 313.2 MB, free: 7.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.0009725/0.1501, allocations: 1.03 MB / 314.2 MB, free: 6.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1501, allocations: 17.44 kB / 314.2 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.1501, allocations: 19.84 kB / 314.2 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/0.1504, allocations: 148.9 kB / 314.4 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.1509, allocations: 281.7 kB / 314.7 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000893/0.1517, allocations: 2.316 MB / 317 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.1522, allocations: 93.34 kB / 317.1 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.1523, allocations: 52 kB / 317.1 MB, free: 4.379 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (148): * Single equations (assignments): 147 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002781/0.1525, allocations: 256.2 kB / 317.4 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.1527, allocations: 153.8 kB / 317.5 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.153, allocations: 421.1 kB / 317.9 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1531, allocations: 7.938 kB / 317.9 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1531, allocations: 11.47 kB / 318 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1531, allocations: 3.984 kB / 318 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.1546, allocations: 1.875 MB / 319.8 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1546, allocations: 0 / 319.8 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.1548, allocations: 98.97 kB / 319.9 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/0.155, allocations: 116.2 kB / 320 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.1551, allocations: 16 kB / 320.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008458/0.1559, allocations: 2.276 MB / 322.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1559, allocations: 0 / 322.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006384/0.1565, allocations: 0.7557 MB / 323.1 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.1567, allocations: 178.3 kB / 323.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.1568, allocations: 12 kB / 323.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.1571, allocations: 48 kB / 323.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.1571, allocations: 49.02 kB / 323.4 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.1572, allocations: 16 kB / 323.4 MB, free: 14.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004488/0.1576, allocations: 0.5984 MB / 324 MB, free: 13.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1576, allocations: 0 / 324 MB, free: 13.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001043/0.1587, allocations: 348 kB / 324.3 MB, free: 13.29 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003501/0.159, allocations: 210.6 kB / 324.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008133/0.1598, allocations: 0.7305 MB / 325.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1598, allocations: 0 / 325.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003751/0.1602, allocations: 388.2 kB / 325.6 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007264/0.1609, allocations: 274.6 kB / 325.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.1644, allocations: 2.795 MB / 328.7 MB, free: 8.859 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.1648, allocations: 0.5247 MB / 329.2 MB, free: 8.309 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003458/0.1651, allocations: 158.1 kB / 329.4 MB, free: 8.152 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/0.1656, allocations: 362 kB / 329.7 MB, free: 7.797 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1656, allocations: 0 / 329.7 MB, free: 7.797 MB / 282.7 MB Notification: Performance of Templates: time 0.0223/0.1879, allocations: 16.83 MB / 346.6 MB, free: 7.301 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.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: 3.1712054079398513]