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.001876/0.001876, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002595/0.002595, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 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 1.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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.337/0.337, allocations: 34.27 MB / 295.3 MB, free: 0.6523 MB / 266.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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.399e-05, allocations: 2.312 kB / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02883/0.02887, allocations: 19.57 MB / 396.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.04369, allocations: 5.463 MB / 402.3 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005161/0.04885, allocations: 230.8 kB / 402.5 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02447/0.07332, allocations: 9.348 MB / 411.9 MB, free: 172 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009618/0.08293, allocations: 2.252 MB / 414.1 MB, free: 13.9 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006785/0.08972, allocations: 1.869 MB / 416 MB, free: 12.04 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.02349/0.1132, allocations: 15.02 MB / 431 MB, free: 12.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4202/0.5334, allocations: 21.15 MB / 452.2 MB, free: 48.27 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02345/0.5569, allocations: 11.91 MB / 464.1 MB, free: 48.27 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01556/0.5725, allocations: 7.872 MB / 472 MB, free: 48.27 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007672/0.5801, allocations: 2.099 MB / 474.1 MB, free: 48.27 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01593/0.5961, allocations: 2.347 MB / 476.4 MB, free: 48.27 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01269/0.6087, allocations: 4.417 MB / 480.8 MB, free: 46.09 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02528/0.634, allocations: 5.672 MB / 486.5 MB, free: 43.97 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.05061/0.6846, allocations: 29.12 MB / 0.5035 GB, free: 31.78 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6846, allocations: 0 / 0.5035 GB, free: 31.78 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6846, allocations: 0 / 0.5035 GB, free: 31.78 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001177/0.6858, allocations: 0 / 0.5035 GB, free: 31.78 MB / 410.8 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.06638/0.7522, allocations: 18.79 MB / 0.5219 GB, free: 18.27 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.7522, allocations: 12.03 kB / 0.5219 GB, free: 18.25 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06302/0.8153, allocations: 13.8 MB / 0.5354 GB, free: 4.574 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02485/0.8401, allocations: 9.404 MB / 0.5446 GB, free: 11.49 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00169/0.8418, allocations: 1.058 MB / 0.5456 GB, free: 10.45 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009077/0.8509, allocations: 1.384 MB / 0.5469 GB, free: 9.074 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08733/0.9382, allocations: 23.93 MB / 0.5703 GB, free: 0.9961 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007181/0.9389, allocations: 15.23 kB / 0.5703 GB, free: 0.9844 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007317/0.9462, allocations: 0.5786 MB / 0.5709 GB, free: 428 kB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001076/0.9473, allocations: 0.7018 MB / 0.5716 GB, free: 15.71 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06294/1.01, allocations: 21.66 MB / 0.5927 GB, free: 10.04 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3828/1.393, allocations: 62.75 MB / 0.654 GB, free: 111 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02261/1.416, allocations: 11.36 MB / 0.6651 GB, free: 107.5 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00827/1.424, allocations: 4.506 MB / 0.6695 GB, free: 105.9 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02992/1.454, allocations: 14.37 MB / 0.6835 GB, free: 100.3 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/1.454, allocations: 86.14 kB / 0.6836 GB, free: 100.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=465): time 1.37e-05/1.454, allocations: 0 / 0.6836 GB, free: 100.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=465): time 0.05329/1.507, allocations: 15.6 MB / 0.6989 GB, free: 94.97 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/1.507, allocations: 122 kB / 0.699 GB, free: 94.87 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008382/1.516, allocations: 4.995 MB / 0.7038 GB, free: 92.17 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00121/1.517, allocations: 100.3 kB / 0.7039 GB, free: 92.08 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003591/1.521, allocations: 6.09 MB / 0.7099 GB, free: 86.79 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002539/1.523, allocations: 1.642 MB / 0.7115 GB, free: 85.39 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00255/1.526, allocations: 1.539 MB / 0.713 GB, free: 84.52 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/1.526, allocations: 301.1 kB / 0.7133 GB, free: 84.22 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005798/1.532, allocations: 4.147 MB / 0.7173 GB, free: 82.04 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007438/1.539, allocations: 7.267 MB / 0.7244 GB, free: 75.73 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01528/1.554, allocations: 11.96 MB / 0.7361 GB, free: 63.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001522/1.554, allocations: 28 kB / 0.7361 GB, free: 63.08 MB / 490.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02589/1.58, allocations: 13.42 MB / 0.7492 GB, free: 49.63 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/1.58, allocations: 48 kB / 0.7493 GB, free: 49.59 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002117/1.581, allocations: 104 kB / 0.7494 GB, free: 49.48 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006142/1.587, allocations: 3.103 MB / 0.7524 GB, free: 46.37 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005956/1.593, allocations: 1.599 MB / 0.754 GB, free: 44.77 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000788/1.594, allocations: 343.1 kB / 0.7543 GB, free: 44.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006925/1.6, allocations: 1.044 MB / 0.7553 GB, free: 43.38 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/1.602, allocations: 384 kB / 0.7557 GB, free: 43 MB / 490.8 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.01194/1.614, allocations: 5.394 MB / 0.761 GB, free: 37.59 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002789/1.617, allocations: 0.649 MB / 0.7616 GB, free: 36.94 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01784/1.635, allocations: 9.532 MB / 0.7709 GB, free: 27.37 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.797e-05/1.635, allocations: 47.98 kB / 0.7709 GB, free: 27.32 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-05/1.635, allocations: 4 kB / 0.771 GB, free: 27.32 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001164/1.635, allocations: 19.92 kB / 0.771 GB, free: 27.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04146/1.676, allocations: 17.98 MB / 0.7885 GB, free: 9.363 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/1.676, allocations: 0 / 0.7885 GB, free: 9.363 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003056/1.679, allocations: 0.7449 MB / 0.7893 GB, free: 8.617 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005702/1.685, allocations: 2.966 MB / 0.7922 GB, free: 5.641 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009357/1.686, allocations: 104 kB / 0.7923 GB, free: 5.539 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006476/1.687, allocations: 146.5 kB / 0.7924 GB, free: 5.387 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.687, allocations: 0 / 0.7924 GB, free: 5.387 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02614/1.713, allocations: 14.32 MB / 0.8064 GB, free: 7.027 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004816/1.718, allocations: 1.35 MB / 0.8077 GB, free: 5.676 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001567/1.719, allocations: 80.06 kB / 0.8078 GB, free: 5.598 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003858/1.723, allocations: 359.5 kB / 0.8081 GB, free: 5.246 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001183/1.724, allocations: 343.2 kB / 0.8084 GB, free: 4.91 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006735/1.725, allocations: 136 kB / 0.8086 GB, free: 4.777 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.008494/1.733, allocations: 3.211 MB / 0.8117 GB, free: 1.566 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.6e-07/1.733, allocations: 0 / 0.8117 GB, free: 1.566 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.2527/1.986, allocations: 3.253 MB / 0.8149 GB, free: 147 MB / 0.4949 GB 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.001592/1.988, allocations: 250.7 kB / 0.8151 GB, free: 147 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01706/2.005, allocations: 9.518 MB / 0.8244 GB, free: 145.9 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/2.005, allocations: 5.969 kB / 0.8244 GB, free: 145.9 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.008181/2.013, allocations: 4.109 MB / 0.8284 GB, free: 144.5 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006531/2.019, allocations: 1.351 MB / 0.8298 GB, free: 144.1 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05023/2.07, allocations: 24.81 MB / 0.854 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01853/2.088, allocations: 8.638 MB / 0.8624 GB, free: 130.7 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008391/2.097, allocations: 2.846 MB / 0.8652 GB, free: 130.5 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/2.099, allocations: 403.3 kB / 0.8656 GB, free: 130.4 MB / 0.4949 GB Notification: Performance of SimCode: time 1.563e-06/2.099, allocations: 0 / 0.8656 GB, free: 130.4 MB / 0.4949 GB Notification: Performance of Templates: time 0.1231/2.222, allocations: 82.33 MB / 0.946 GB, free: 61.44 MB / 0.4949 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.037976644001901]