Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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.00101/0.00101, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.0009675/0.0009675, allocations: 168.9 kB / 24.81 MB, free: 8.918 MB / 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.9717/0.9717, allocations: 177.2 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2605/0.2605, allocations: 32.8 MB / 294.6 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.271e-05, allocations: 13.2 kB / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02115/0.02118, allocations: 18.41 MB / 394.9 MB, free: 1.879 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.03409, allocations: 4.935 MB / 399.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004212/0.0383, allocations: 191 kB / 400 MB, free: 12.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01286/0.05117, allocations: 8.081 MB / 408.1 MB, free: 4.625 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006103/0.05727, allocations: 2.14 MB / 410.2 MB, free: 2.473 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.05956, allocations: 1.384 MB / 411.6 MB, free: 1.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01024/0.06979, allocations: 12.63 MB / 424.2 MB, free: 4.41 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0176/0.08739, allocations: 16.8 MB / 441.1 MB, free: 3.402 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1675/0.2549, allocations: 9.814 MB / 450.9 MB, free: 58.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009442/0.2644, allocations: 7.273 MB / 458.1 MB, free: 58.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004895/0.2693, allocations: 1.72 MB / 459.9 MB, free: 58.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006757/0.276, allocations: 1.923 MB / 461.8 MB, free: 58.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004183/0.2802, allocations: 3.796 MB / 465.6 MB, free: 58.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007529/0.2877, allocations: 4.772 MB / 470.4 MB, free: 58.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01492/0.3026, allocations: 12 MB / 482.3 MB, free: 53.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3027, allocations: 0 / 482.3 MB, free: 53.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3027, allocations: 3.938 kB / 482.4 MB, free: 53.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007853/0.3034, allocations: 1.75 kB / 482.4 MB, free: 53.33 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03143/0.3349, allocations: 15.23 MB / 497.6 MB, free: 46.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3349, allocations: 11.41 kB / 497.6 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03154/0.3665, allocations: 9.277 MB / 0.495 GB, free: 44.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.377, allocations: 6.267 MB / 0.5011 GB, free: 40.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005848/0.3775, allocations: 0.8823 MB / 0.502 GB, free: 40.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003492/0.381, allocations: 1.185 MB / 0.5031 GB, free: 39.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02058/0.4016, allocations: 7.457 MB / 0.5104 GB, free: 33.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002925/0.4019, allocations: 19.5 kB / 0.5104 GB, free: 33.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00164/0.4035, allocations: 493 kB / 0.5109 GB, free: 33.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003651/0.4039, allocations: 0.6599 MB / 0.5115 GB, free: 32.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/0.4154, allocations: 4.85 MB / 0.5163 GB, free: 29.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06666/0.4821, allocations: 44.88 MB / 0.5601 GB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007339/0.4894, allocations: 6.314 MB / 0.5663 GB, free: 12.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.4912, allocations: 1.349 MB / 0.5676 GB, free: 10.83 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003405/0.4915, allocations: 284.8 kB / 0.5679 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.15e-05/0.4916, allocations: 106.5 kB / 0.568 GB, free: 10.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=653): time 8.326e-06/0.4916, allocations: 0 / 0.568 GB, free: 10.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=653): time 0.006416/0.498, allocations: 4.076 MB / 0.572 GB, free: 6.281 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.4981, allocations: 120.5 kB / 0.5721 GB, free: 6.148 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004769/0.5029, allocations: 3.48 MB / 0.5755 GB, free: 3.121 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004374/0.5033, allocations: 133.6 kB / 0.5756 GB, free: 2.984 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002674/0.506, allocations: 5.004 MB / 0.5805 GB, free: 14.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002027/0.508, allocations: 2.401 MB / 0.5828 GB, free: 11.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/0.5098, allocations: 1.683 MB / 0.5845 GB, free: 10.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.5099, allocations: 480.5 kB / 0.5849 GB, free: 9.805 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.5113, allocations: 0.8111 MB / 0.5857 GB, free: 8.992 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003161/0.5144, allocations: 5.068 MB / 0.5907 GB, free: 2.406 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005898/0.5203, allocations: 6.717 MB / 0.5972 GB, free: 10.42 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-05/0.5204, allocations: 28 kB / 0.5973 GB, free: 10.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.007912/0.5283, allocations: 5.483 MB / 0.6026 GB, free: 5.383 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.5283, allocations: 44 kB / 0.6027 GB, free: 5.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.219e-05/0.5284, allocations: 88 kB / 0.6027 GB, free: 5.254 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007444/0.5292, allocations: 397.1 kB / 0.6031 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/0.5326, allocations: 1.764 MB / 0.6048 GB, free: 3.207 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1699/0.7024, allocations: 10.63 MB / 0.6152 GB, free: 94.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004907/0.7073, allocations: 0.7393 MB / 0.6159 GB, free: 94.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009577/0.7083, allocations: 324.3 kB / 0.6162 GB, free: 94.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00404/0.7123, allocations: 0.6805 MB / 0.6169 GB, free: 94.44 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/0.7135, allocations: 0.6747 MB / 0.6176 GB, free: 94.44 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006792/0.7203, allocations: 5.506 MB / 0.623 GB, free: 93.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.1e-05/0.7203, allocations: 66.59 kB / 0.623 GB, free: 93.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.7203, allocations: 3.156 kB / 0.623 GB, free: 93.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.205e-05/0.7204, allocations: 35.95 kB / 0.6231 GB, free: 93.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04701/0.7674, allocations: 23.54 MB / 0.646 GB, free: 88.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001479/0.7675, allocations: 85.59 kB / 0.6461 GB, free: 88.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002962/0.7705, allocations: 1.324 MB / 0.6474 GB, free: 88.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007275/0.7712, allocations: 376 kB / 0.6478 GB, free: 88.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005423/0.7718, allocations: 258.4 kB / 0.648 GB, free: 88.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002752/0.7745, allocations: 10.6 MB / 0.6584 GB, free: 78 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.131e-05/0.7746, allocations: 138.3 kB / 0.6585 GB, free: 78 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009256/0.7838, allocations: 9.971 MB / 0.6682 GB, free: 70.24 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/0.7863, allocations: 1.236 MB / 0.6695 GB, free: 69.87 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006116/0.7869, allocations: 247.7 kB / 0.6697 GB, free: 69.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/0.789, allocations: 274.9 kB / 0.67 GB, free: 69.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007156/0.7897, allocations: 0.7617 MB / 0.6707 GB, free: 69.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003716/0.7901, allocations: 273.1 kB / 0.671 GB, free: 69.78 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002014/0.7921, allocations: 1.482 MB / 0.6724 GB, free: 69.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7921, allocations: 0 / 0.6724 GB, free: 69.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007037/0.7991, allocations: 2.947 MB / 0.6753 GB, free: 68.88 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * 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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00096/0.8001, allocations: 0.5014 MB / 0.6758 GB, free: 68.72 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006772/0.8069, allocations: 5.187 MB / 0.6808 GB, free: 67.45 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.032e-05/0.8069, allocations: 14.19 kB / 0.6809 GB, free: 67.45 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003056/0.81, allocations: 3.126 MB / 0.6839 GB, free: 66.36 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005152/0.8151, allocations: 1.31 MB / 0.6852 GB, free: 66.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06175/0.8769, allocations: 20.77 MB / 0.7055 GB, free: 49.67 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01825/0.8951, allocations: 3.411 MB / 0.7088 GB, free: 47.46 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003514/0.8986, allocations: 0.9207 MB / 0.7097 GB, free: 46.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003794/0.9024, allocations: 1.376 MB / 0.711 GB, free: 45.54 MB / 474.7 MB Notification: Performance of SimCode: time 1.482e-06/0.9024, allocations: 0 / 0.711 GB, free: 45.54 MB / 474.7 MB Notification: Performance of Templates: time 0.2685/1.171, allocations: 83.78 MB / 0.7929 GB, free: 129.8 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.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: 5.929522829130292]