Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.001123/0.001123, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001731/0.002854, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001138/0.001138, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001487/0.002626, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.017/1.017, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0969/1.114, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3024/0.3024, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02615/0.3286, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.552e-05, allocations: 3.859 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01628/0.0163, allocations: 21.35 MB / 314 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.02994, allocations: 5.893 MB / 319.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004745/0.03469, allocations: 230.8 kB / 320.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01184/0.04653, allocations: 10.09 MB / 330.2 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006893/0.05343, allocations: 2.24 MB / 332.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002926/0.05635, allocations: 1.883 MB / 334.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01219/0.06854, allocations: 15.11 MB / 349.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08735/0.1559, allocations: 21.28 MB / 370.7 MB, free: 7.711 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0169/0.1728, allocations: 12.38 MB / 383.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01207/0.1849, allocations: 8.859 MB / 391.9 MB, free: 2.426 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005114/0.19, allocations: 2.098 MB / 394 MB, free: 336 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007364/0.1973, allocations: 2.363 MB / 396.4 MB, free: 13.96 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00573/0.2031, allocations: 3.488 MB / 399.9 MB, free: 10.47 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01192/0.215, allocations: 4.734 MB / 404.6 MB, free: 5.727 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02204/0.237, allocations: 13.72 MB / 418.3 MB, free: 7.969 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-05/0.237, allocations: 0 / 418.3 MB, free: 7.969 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.237, allocations: 0 / 418.3 MB, free: 7.969 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008171/0.2379, allocations: 0 / 418.3 MB, free: 7.969 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: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.03903/0.2769, allocations: 21.27 MB / 439.6 MB, free: 2.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2769, allocations: 8.031 kB / 439.6 MB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2387/0.5156, allocations: 10.33 MB / 450 MB, free: 86.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01173/0.5274, allocations: 4.338 MB / 454.3 MB, free: 85.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008845/0.5282, allocations: 1.062 MB / 455.4 MB, free: 85.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004057/0.5323, allocations: 1.382 MB / 456.7 MB, free: 85.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03604/0.5683, allocations: 11.94 MB / 468.7 MB, free: 84.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006025/0.5689, allocations: 10.72 kB / 468.7 MB, free: 84.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004092/0.573, allocations: 0.5755 MB / 469.3 MB, free: 84.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005515/0.5736, allocations: 0.6996 MB / 470 MB, free: 84.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/0.593, allocations: 5.945 MB / 475.9 MB, free: 81.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07218/0.6651, allocations: 41.85 MB / 0.5056 GB, free: 40.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005751/0.6709, allocations: 5.626 MB / 0.5111 GB, free: 35.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.6724, allocations: 1.274 MB / 0.5124 GB, free: 34.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/0.6837, allocations: 6.372 MB / 0.5186 GB, free: 27.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.6838, allocations: 93.3 kB / 0.5187 GB, free: 27.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=465): time 6.352e-06/0.6838, allocations: 0 / 0.5187 GB, free: 27.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=465): time 0.01357/0.6973, allocations: 6.598 MB / 0.5251 GB, free: 21.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.6974, allocations: 132.8 kB / 0.5252 GB, free: 21.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003613/0.701, allocations: 3.214 MB / 0.5284 GB, free: 18.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004441/0.7014, allocations: 97.7 kB / 0.5285 GB, free: 18.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001879/0.7033, allocations: 5.633 MB / 0.534 GB, free: 12.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001214/0.7045, allocations: 1.644 MB / 0.5356 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/0.7061, allocations: 1.393 MB / 0.5369 GB, free: 10.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.428e-05/0.7061, allocations: 305.1 kB / 0.5372 GB, free: 9.812 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.7075, allocations: 1.126 MB / 0.5383 GB, free: 8.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.7094, allocations: 3.9 MB / 0.5421 GB, free: 3.578 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005364/0.7148, allocations: 5.721 MB / 0.5477 GB, free: 13.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.132e-05/0.7149, allocations: 28 kB / 0.5478 GB, free: 12.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.008227/0.7231, allocations: 5.031 MB / 0.5527 GB, free: 8.637 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.948e-05/0.7232, allocations: 48 kB / 0.5527 GB, free: 8.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/0.7233, allocations: 104 kB / 0.5528 GB, free: 8.488 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002769/0.7261, allocations: 1.479 MB / 0.5543 GB, free: 7.023 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003446/0.7295, allocations: 1.621 MB / 0.5558 GB, free: 5.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004016/0.7299, allocations: 325.1 kB / 0.5561 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00371/0.7336, allocations: 0.8181 MB / 0.5569 GB, free: 4.418 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004721/0.7341, allocations: 319.9 kB / 0.5573 GB, free: 4.105 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.003226/0.7373, allocations: 0.6213 MB / 0.5579 GB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009639/0.7383, allocations: 435.6 kB / 0.5583 GB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004816/0.7431, allocations: 3.237 MB / 0.5614 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.383e-05/0.7431, allocations: 48 kB / 0.5615 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.7431, allocations: 0 / 0.5615 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/0.7432, allocations: 23.91 kB / 0.5615 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/0.7565, allocations: 6.645 MB / 0.568 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.7565, allocations: 8 kB / 0.568 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/0.7582, allocations: 0.6698 MB / 0.5687 GB, free: 9.387 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00216/0.7603, allocations: 0.7133 MB / 0.5694 GB, free: 8.672 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002502/0.7628, allocations: 1.357 MB / 0.5707 GB, free: 7.336 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002729/0.7631, allocations: 87.97 kB / 0.5708 GB, free: 7.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002878/0.7634, allocations: 143.7 kB / 0.5709 GB, free: 7.109 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.7634, allocations: 12 kB / 0.5709 GB, free: 7.098 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005588/0.769, allocations: 3.838 MB / 0.5747 GB, free: 3.359 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008819/0.7699, allocations: 80 kB / 0.5747 GB, free: 3.281 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.7712, allocations: 148 kB / 0.5749 GB, free: 3.137 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004029/0.7716, allocations: 298 kB / 0.5752 GB, free: 2.848 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/0.7718, allocations: 91.95 kB / 0.5752 GB, free: 2.758 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001718/0.7735, allocations: 1.446 MB / 0.5767 GB, free: 1.488 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7735, allocations: 0 / 0.5767 GB, free: 1.488 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007207/0.7808, allocations: 3.25 MB / 0.5798 GB, free: 14.22 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007559/0.7815, allocations: 246.7 kB / 0.5801 GB, free: 14.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005925/0.7874, allocations: 3.894 MB / 0.5839 GB, free: 10.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002385/0.7877, allocations: 126.4 kB / 0.584 GB, free: 10.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002661/0.7903, allocations: 1.786 MB / 0.5857 GB, free: 8.656 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003922/0.7943, allocations: 1.751 MB / 0.5874 GB, free: 6.973 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08192/0.8762, allocations: 21.4 MB / 0.6083 GB, free: 1.594 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.17/1.046, allocations: 2.816 MB / 0.6111 GB, free: 134.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002831/1.049, allocations: 0.7644 MB / 0.6118 GB, free: 134.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/1.051, allocations: 1.118 MB / 0.6129 GB, free: 134.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.764e-06/1.051, allocations: 0 / 0.6129 GB, free: 134.5 MB / 490.7 MB Notification: Performance of Templates: time 0.1138/1.165, allocations: 92.63 MB / 0.7034 GB, free: 71.22 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.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.932683224789798]