Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001744/0.001744, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002083/0.002083, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 177 MB / 204.1 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 34.26 MB / 294.8 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 442.7 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.755e-05, allocations: 2.281 kB / 442.7 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.2574/0.2574, allocations: 19.55 MB / 462.2 MB, free: 8.016 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.2708, allocations: 5.398 MB / 467.6 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006105/0.277, allocations: 231.3 kB / 467.8 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02171/0.2987, allocations: 9.368 MB / 477.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01071/0.3094, allocations: 2.248 MB / 479.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006786/0.3162, allocations: 1.874 MB / 481.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01953/0.3357, allocations: 15.02 MB / 496.3 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03861/0.3743, allocations: 21.17 MB / 0.5054 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02511/0.3994, allocations: 11.92 MB / 0.517 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01716/0.4166, allocations: 7.867 MB / 0.5247 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008329/0.4249, allocations: 2.098 MB / 0.5268 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/0.4351, allocations: 2.355 MB / 0.5291 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008352/0.4435, allocations: 4.418 MB / 0.5334 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01698/0.4604, allocations: 5.669 MB / 0.5389 GB, free: 8.754 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03941/0.4999, allocations: 29.1 MB / 0.5673 GB, free: 11.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4999, allocations: 0 / 0.5673 GB, free: 11.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4999, allocations: 0 / 0.5673 GB, free: 11.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0009012/0.5008, allocations: 0 / 0.5673 GB, free: 11.57 MB / 478.1 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.06282/0.5636, allocations: 18.8 MB / 0.5857 GB, free: 8.668 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/0.5637, allocations: 8.625 kB / 0.5857 GB, free: 8.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06663/0.6303, allocations: 11.48 MB / 0.5969 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02226/0.6525, allocations: 9.048 MB / 0.6057 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001408/0.6539, allocations: 1.056 MB / 0.6068 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006361/0.6603, allocations: 1.375 MB / 0.6081 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07111/0.7314, allocations: 23.93 MB / 0.6315 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001107/0.7325, allocations: 23.84 kB / 0.6315 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005999/0.7385, allocations: 0.5742 MB / 0.6321 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008634/0.7394, allocations: 0.6978 MB / 0.6327 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4331/1.173, allocations: 21.65 MB / 0.6539 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1168/1.289, allocations: 61.16 MB / 0.7136 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.017/1.306, allocations: 11.33 MB / 0.7247 GB, free: 92.83 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006439/1.313, allocations: 4.508 MB / 0.7291 GB, free: 88.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02671/1.339, allocations: 14.31 MB / 0.7431 GB, free: 74.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/1.34, allocations: 82.05 kB / 0.7431 GB, free: 74.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 9.699e-06/1.34, allocations: 4 kB / 0.7431 GB, free: 74.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03498/1.375, allocations: 15.42 MB / 0.7582 GB, free: 58.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/1.375, allocations: 128.6 kB / 0.7583 GB, free: 58.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007642/1.382, allocations: 4.984 MB / 0.7632 GB, free: 53.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006017/1.383, allocations: 97.7 kB / 0.7633 GB, free: 53.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00274/1.386, allocations: 6.087 MB / 0.7692 GB, free: 48.01 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00151/1.387, allocations: 1.64 MB / 0.7708 GB, free: 46.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002872/1.39, allocations: 1.54 MB / 0.7723 GB, free: 44.85 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.281e-05/1.39, allocations: 313.1 kB / 0.7726 GB, free: 44.54 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005882/1.396, allocations: 4.148 MB / 0.7767 GB, free: 40.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007264/1.403, allocations: 7.274 MB / 0.7838 GB, free: 31.67 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/1.416, allocations: 11.94 MB / 0.7954 GB, free: 18.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001336/1.417, allocations: 36 kB / 0.7955 GB, free: 18.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02333/1.44, allocations: 13.06 MB / 0.8082 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/1.44, allocations: 48 kB / 0.8083 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002485/1.44, allocations: 104 kB / 0.8084 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006128/1.446, allocations: 3.097 MB / 0.8114 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005875/1.452, allocations: 1.595 MB / 0.813 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008805/1.453, allocations: 339.2 kB / 0.8133 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007045/1.46, allocations: 1.048 MB / 0.8143 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/1.462, allocations: 384 kB / 0.8147 GB, free: 14.51 MB / 0.545 GB 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.01174/1.473, allocations: 5.402 MB / 0.82 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002042/1.475, allocations: 0.5045 MB / 0.8204 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02246/1.498, allocations: 9.528 MB / 0.8297 GB, free: 15.02 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.143e-05/1.498, allocations: 48 kB / 0.8298 GB, free: 14.98 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/1.498, allocations: 0 / 0.8298 GB, free: 14.98 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.126e-05/1.498, allocations: 23.91 kB / 0.8298 GB, free: 14.95 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04932/1.547, allocations: 17.99 MB / 0.8474 GB, free: 13 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.265e-05/1.547, allocations: 0 / 0.8474 GB, free: 13 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004077/1.552, allocations: 0.741 MB / 0.8481 GB, free: 12.26 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007911/1.559, allocations: 2.964 MB / 0.851 GB, free: 9.285 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001151/1.561, allocations: 104 kB / 0.8511 GB, free: 9.184 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008147/1.561, allocations: 154.4 kB / 0.8513 GB, free: 9.023 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.561, allocations: 0 / 0.8513 GB, free: 9.023 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2986/1.86, allocations: 14.17 MB / 0.8651 GB, free: 182 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004086/1.864, allocations: 1.325 MB / 0.8664 GB, free: 181.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001116/1.865, allocations: 80.38 kB / 0.8665 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003376/1.869, allocations: 366.3 kB / 0.8668 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001016/1.87, allocations: 335.7 kB / 0.8671 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003689/1.87, allocations: 135 kB / 0.8673 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006071/1.876, allocations: 3.208 MB / 0.8704 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/1.876, allocations: 0 / 0.8704 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01009/1.886, allocations: 3.254 MB / 0.8736 GB, free: 180.1 MB / 0.5763 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.001032/1.887, allocations: 262.5 kB / 0.8738 GB, free: 179.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02008/1.907, allocations: 9.51 MB / 0.8831 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.907, allocations: 0 / 0.8831 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008758/1.916, allocations: 4.114 MB / 0.8871 GB, free: 175.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00716/1.923, allocations: 1.264 MB / 0.8884 GB, free: 175 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04834/1.971, allocations: 24.46 MB / 0.9122 GB, free: 162 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01524/1.987, allocations: 8.637 MB / 0.9207 GB, free: 155.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007636/1.994, allocations: 2.848 MB / 0.9235 GB, free: 153.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/1.996, allocations: 395.7 kB / 0.9238 GB, free: 153.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.403e-06/1.996, allocations: 4 kB / 0.9238 GB, free: 153.2 MB / 0.5763 GB Notification: Performance of Templates: time 0.1246/2.121, allocations: 82.09 MB / 1.004 GB, free: 72.31 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 9.981987319886684]