Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 75.91 kB / 21.18 MB, free: 3.395 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 145.1 kB / 24.54 MB, free: 40 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9977/0.9977, allocations: 173.3 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.14e-05, allocations: 10.25 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.00409/0.004122, allocations: 3.743 MB / 271.7 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.005985, allocations: 0.9501 MB / 272.7 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.006244, allocations: 27.81 kB / 272.7 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.006543, allocations: 162.8 kB / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007952/0.007338, allocations: 302.1 kB / 273.2 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.0076, allocations: 135.7 kB / 273.3 MB, free: 1.105 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.008758, allocations: 1.435 MB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006452/0.009403, allocations: 0.6235 MB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000941/0.01034, allocations: 0.9279 MB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009654/0.01131, allocations: 0.76 MB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.01154, allocations: 156 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.01173, allocations: 156 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.01204, allocations: 490.6 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004908/0.01253, allocations: 0.5145 MB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009685/0.0135, allocations: 1.235 MB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.01351, allocations: 3.938 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01351, allocations: 0 / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.01353, allocations: 0 / 279.6 MB, free: 10.77 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.001935/0.01546, allocations: 1.762 MB / 281.3 MB, free: 8.965 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.01551, allocations: 8.922 kB / 281.3 MB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.01578, allocations: 232 kB / 281.6 MB, free: 8.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008744/0.01665, allocations: 0.7439 MB / 282.3 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.449e-05/0.01671, allocations: 82.59 kB / 282.4 MB, free: 7.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.01684, allocations: 112.4 kB / 282.5 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.01813, allocations: 1.024 MB / 283.5 MB, free: 6.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.01815, allocations: 4 kB / 283.5 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.991e-05/0.01822, allocations: 48 kB / 283.6 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.01824, allocations: 28 kB / 283.6 MB, free: 6.574 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007617/0.019, allocations: 376.8 kB / 284 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/0.02269, allocations: 3.378 MB / 287.4 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.02313, allocations: 349.3 kB / 287.7 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.02341, allocations: 197.6 kB / 287.9 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.02344, allocations: 8.5 kB / 287.9 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.02347, allocations: 41.89 kB / 287.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 4.078e-06/0.02348, allocations: 4 kB / 287.9 MB, free: 2.074 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001624/0.0251, allocations: 1.029 MB / 289 MB, free: 1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.02514, allocations: 59.91 kB / 289 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005882/0.02573, allocations: 0.6792 MB / 289.7 MB, free: 240 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.02576, allocations: 37.7 kB / 289.7 MB, free: 196 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1303/0.156, allocations: 0.6129 MB / 290.4 MB, free: 29.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.1563, allocations: 189.4 kB / 290.5 MB, free: 29.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.1565, allocations: 117.5 kB / 290.7 MB, free: 29.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1567, allocations: 0.5828 MB / 291.2 MB, free: 28.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.1569, allocations: 73.92 kB / 291.3 MB, free: 28.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.1571, allocations: 217.5 kB / 291.5 MB, free: 28.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.1576, allocations: 329.6 kB / 291.9 MB, free: 28.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1576, allocations: 2.781 kB / 291.9 MB, free: 28.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009918/0.1586, allocations: 465.4 kB / 292.3 MB, free: 28.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.1586, allocations: 12.61 kB / 292.3 MB, free: 28.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1586, allocations: 2.781 kB / 292.3 MB, free: 28.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.1589, allocations: 71.92 kB / 292.4 MB, free: 28.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.1594, allocations: 121.4 kB / 292.5 MB, free: 28.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.161, allocations: 2.339 MB / 294.9 MB, free: 26.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.1614, allocations: 22.33 kB / 294.9 MB, free: 26.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.1614, allocations: 26.17 kB / 294.9 MB, free: 26.23 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.0003183/0.1617, allocations: 186.2 kB / 295.1 MB, free: 26.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.1618, allocations: 92 kB / 295.2 MB, free: 26.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.696e-05/0.1619, allocations: 87.55 kB / 295.3 MB, free: 26.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1619, allocations: 5.922 kB / 295.3 MB, free: 26.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.162, allocations: 6.078 kB / 295.3 MB, free: 26.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.162, allocations: 5.062 kB / 295.3 MB, free: 26.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.1642, allocations: 1.455 MB / 296.7 MB, free: 25.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1642, allocations: 2.844 kB / 296.7 MB, free: 25.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.1645, allocations: 84.36 kB / 296.8 MB, free: 25.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001977/0.1647, allocations: 67.73 kB / 296.9 MB, free: 25.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.1647, allocations: 13.7 kB / 296.9 MB, free: 25.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.166, allocations: 2.329 MB / 299.2 MB, free: 23.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.166, allocations: 0.9375 kB / 299.2 MB, free: 23.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009102/0.1669, allocations: 0.6754 MB / 299.9 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.167, allocations: 80.66 kB / 300 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.777e-05/0.1671, allocations: 18.72 kB / 300 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.1674, allocations: 40.47 kB / 300 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.1675, allocations: 50.92 kB / 300.1 MB, free: 23.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.1675, allocations: 20.19 kB / 300.1 MB, free: 23.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005176/0.1681, allocations: 432.9 kB / 300.5 MB, free: 22.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1681, allocations: 0 / 300.5 MB, free: 22.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008059/0.1689, allocations: 208.6 kB / 300.7 MB, free: 22.88 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.0001407/0.169, allocations: 118.6 kB / 300.8 MB, free: 22.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008453/0.1698, allocations: 0.4997 MB / 301.3 MB, free: 22.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1698, allocations: 0.625 kB / 301.3 MB, free: 22.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004455/0.1703, allocations: 388.9 kB / 301.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.171, allocations: 165.1 kB / 301.9 MB, free: 22.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.1745, allocations: 1.889 MB / 303.8 MB, free: 21.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.175, allocations: 372 kB / 304.1 MB, free: 21.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00042/0.1754, allocations: 139.9 kB / 304.3 MB, free: 21.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.1755, allocations: 49.23 kB / 304.3 MB, free: 21.02 MB / 266.7 MB Notification: Performance of SimCode: time 1.402e-06/0.1755, allocations: 0 / 304.3 MB, free: 21.02 MB / 266.7 MB Notification: Performance of Templates: time 0.01604/0.1915, allocations: 10.35 MB / 314.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.164755162317306]