Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001257/0.001257, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001865/0.003122, 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.001137/0.001137, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002624, 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.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1187/1.156, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.3281/0.3281, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04253/0.3707, allocations: 12.53 MB / 289.3 MB, free: 8.668 MB / 282.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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.28e-05/3.472e-05, allocations: 2.312 kB / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01932/0.01936, allocations: 21.36 MB / 312 MB, free: 2.863 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.03182, allocations: 5.889 MB / 317.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004889/0.03671, allocations: 238.7 kB / 318.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01269/0.0494, allocations: 10.1 MB / 328.2 MB, free: 2.574 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009254/0.05866, allocations: 2.232 MB / 330.4 MB, free: 336 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005234/0.06389, allocations: 1.883 MB / 332.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01469/0.07858, allocations: 15.13 MB / 347.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03361/0.1122, allocations: 21.28 MB / 368.7 MB, free: 9.699 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02249/0.1347, allocations: 12.36 MB / 381.1 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0127/0.1474, allocations: 8.866 MB / 389.9 MB, free: 4.422 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005669/0.1531, allocations: 2.098 MB / 392 MB, free: 2.324 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009715/0.1628, allocations: 2.367 MB / 394.4 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007492/0.1703, allocations: 3.488 MB / 397.9 MB, free: 12.46 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01448/0.1847, allocations: 4.731 MB / 402.6 MB, free: 7.723 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02289/0.2076, allocations: 13.72 MB / 416.3 MB, free: 9.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-05/0.2077, allocations: 0 / 416.3 MB, free: 9.965 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2077, allocations: 0 / 416.3 MB, free: 9.965 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008247/0.2085, allocations: 0 / 416.3 MB, free: 9.965 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.04081/0.2493, allocations: 21.26 MB / 437.6 MB, free: 4.578 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.477e-05/0.2494, allocations: 12.03 kB / 437.6 MB, free: 4.566 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.216/0.4654, allocations: 10.33 MB / 447.9 MB, free: 87.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.4763, allocations: 4.348 MB / 452.3 MB, free: 87.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008487/0.4772, allocations: 1.057 MB / 453.3 MB, free: 87.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003881/0.4811, allocations: 1.375 MB / 454.7 MB, free: 87.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0298/0.5109, allocations: 11.94 MB / 466.7 MB, free: 85.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000428/0.5113, allocations: 15.59 kB / 466.7 MB, free: 85.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002485/0.5138, allocations: 0.5734 MB / 467.2 MB, free: 85.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000582/0.5144, allocations: 0.7003 MB / 467.9 MB, free: 85.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01535/0.5297, allocations: 5.945 MB / 473.9 MB, free: 83.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08099/0.6107, allocations: 41.85 MB / 0.5037 GB, free: 44.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006434/0.6171, allocations: 5.626 MB / 0.5091 GB, free: 38.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00211/0.6192, allocations: 1.277 MB / 0.5104 GB, free: 37.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/0.6308, allocations: 6.378 MB / 0.5166 GB, free: 31.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/0.6309, allocations: 82.11 kB / 0.5167 GB, free: 31.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=465): time 6.011e-06/0.6309, allocations: 0 / 0.5167 GB, free: 31.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=465): time 0.01543/0.6463, allocations: 6.593 MB / 0.5231 GB, free: 24.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.6464, allocations: 132.4 kB / 0.5233 GB, free: 24.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00424/0.6506, allocations: 3.216 MB / 0.5264 GB, free: 22.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000561/0.6512, allocations: 97.7 kB / 0.5265 GB, free: 22.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002399/0.6536, allocations: 5.633 MB / 0.532 GB, free: 16.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001417/0.655, allocations: 1.647 MB / 0.5336 GB, free: 15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/0.6567, allocations: 1.385 MB / 0.535 GB, free: 13.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.616e-05/0.6567, allocations: 309.1 kB / 0.5353 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.6586, allocations: 1.122 MB / 0.5364 GB, free: 12.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/0.661, allocations: 3.9 MB / 0.5402 GB, free: 7.227 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005475/0.6665, allocations: 5.718 MB / 0.5457 GB, free: 0.668 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.65e-05/0.6666, allocations: 32 kB / 0.5458 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.009103/0.6757, allocations: 5.027 MB / 0.5507 GB, free: 12.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.931e-05/0.6758, allocations: 52 kB / 0.5507 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/0.6759, allocations: 100 kB / 0.5508 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003279/0.6792, allocations: 1.485 MB / 0.5523 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004168/0.6833, allocations: 1.623 MB / 0.5539 GB, free: 9.172 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004851/0.6838, allocations: 324.2 kB / 0.5542 GB, free: 8.895 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003985/0.6878, allocations: 0.8358 MB / 0.555 GB, free: 8.055 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005209/0.6883, allocations: 312 kB / 0.5553 GB, free: 7.75 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.002987/0.6913, allocations: 0.6189 MB / 0.5559 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009915/0.6923, allocations: 431.6 kB / 0.5563 GB, free: 6.816 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005906/0.6982, allocations: 3.239 MB / 0.5595 GB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.592e-05/0.6982, allocations: 48 kB / 0.5595 GB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6982, allocations: 0 / 0.5595 GB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.678e-05/0.6983, allocations: 27.91 kB / 0.5595 GB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/0.7143, allocations: 6.645 MB / 0.566 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.7143, allocations: 0 / 0.566 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.716, allocations: 0.6739 MB / 0.5667 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002009/0.7181, allocations: 0.7133 MB / 0.5674 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002477/0.7205, allocations: 1.357 MB / 0.5687 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002591/0.7208, allocations: 87.97 kB / 0.5688 GB, free: 10.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002944/0.7211, allocations: 143.2 kB / 0.5689 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7211, allocations: 0 / 0.5689 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005751/0.7268, allocations: 3.85 MB / 0.5727 GB, free: 7.012 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009077/0.7277, allocations: 76 kB / 0.5728 GB, free: 6.938 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.7291, allocations: 148 kB / 0.5729 GB, free: 6.793 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006882/0.7297, allocations: 295.2 kB / 0.5732 GB, free: 6.504 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000204/0.7299, allocations: 91.95 kB / 0.5733 GB, free: 6.414 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001705/0.7316, allocations: 1.451 MB / 0.5747 GB, free: 5.141 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7316, allocations: 0 / 0.5747 GB, free: 5.141 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007151/0.7388, allocations: 3.25 MB / 0.5779 GB, free: 1.879 MB / 458.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.0007577/0.7396, allocations: 250.9 kB / 0.5781 GB, free: 1.664 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007874/0.7474, allocations: 3.9 MB / 0.5819 GB, free: 14.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003036/0.7477, allocations: 121.9 kB / 0.582 GB, free: 14 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003527/0.7513, allocations: 1.794 MB / 0.5838 GB, free: 12.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004986/0.7562, allocations: 1.739 MB / 0.5855 GB, free: 10.62 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09924/0.8555, allocations: 21.38 MB / 0.6064 GB, free: 5.254 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00673/0.8622, allocations: 2.823 MB / 0.6091 GB, free: 2.398 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003155/0.8654, allocations: 0.7657 MB / 0.6099 GB, free: 1.629 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/0.8675, allocations: 1.12 MB / 0.611 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of SimCode: time 2.835e-06/0.8675, allocations: 4 kB / 0.611 GB, free: 500 kB / 490.7 MB Notification: Performance of Templates: time 0.2813/1.149, allocations: 92.63 MB / 0.7014 GB, free: 76.8 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 6.149305933155119]