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.001337/0.001337, allocations: 81.39 kB / 21.25 MB, free: 0.5469 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.001472/0.001472, allocations: 159.9 kB / 24.5 MB, free: 3.719 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.606/1.606, allocations: 177.1 MB / 204.7 MB, free: 8.938 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.232/0.232, allocations: 34.26 MB / 295.4 MB, free: 14.46 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002467/0.002467, allocations: 83.86 kB / 443.2 MB, free: 6.461 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3577, allocations: 66.05 MB / 0.4973 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01685/0.3746, allocations: 19.54 MB / 0.5164 GB, free: 16.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.3879, allocations: 5.391 MB / 0.5216 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007853/0.3957, allocations: 234.1 kB / 0.5218 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02215/0.4179, allocations: 9.341 MB / 0.531 GB, free: 7.527 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009203/0.4271, allocations: 2.192 MB / 0.5331 GB, free: 6.172 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006024/0.4331, allocations: 1.876 MB / 0.5349 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01955/0.4527, allocations: 14.55 MB / 0.5491 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04712/0.4998, allocations: 21.12 MB / 0.5698 GB, free: 11 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01623/0.516, allocations: 8.171 MB / 0.5778 GB, free: 2.805 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01686/0.5329, allocations: 8.721 MB / 0.5863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006557/0.5394, allocations: 2.102 MB / 0.5883 GB, free: 7.953 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01025/0.5497, allocations: 2.336 MB / 0.5906 GB, free: 5.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00871/0.5584, allocations: 4.337 MB / 0.5948 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01618/0.5746, allocations: 6.588 MB / 0.6013 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03714/0.6117, allocations: 28.92 MB / 0.6295 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.6117, allocations: 3.938 kB / 0.6295 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6117, allocations: 0 / 0.6295 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0009146/0.6126, allocations: 0 / 0.6295 GB, free: 13.64 MB / 0.5294 GB 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.05915/0.6718, allocations: 18.92 MB / 0.648 GB, free: 10.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.6718, allocations: 8.031 kB / 0.648 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06354/0.7354, allocations: 11.49 MB / 0.6592 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02027/0.7556, allocations: 9.044 MB / 0.6681 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/0.7567, allocations: 1.06 MB / 0.6691 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005467/0.7621, allocations: 1.375 MB / 0.6704 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.601/1.363, allocations: 23.93 MB / 0.6938 GB, free: 120 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008237/1.364, allocations: 21.08 kB / 0.6938 GB, free: 120 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005487/1.369, allocations: 0.5758 MB / 0.6944 GB, free: 119.9 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001406/1.371, allocations: 0.7037 MB / 0.6951 GB, free: 119.8 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06727/1.438, allocations: 21.66 MB / 0.7162 GB, free: 112.3 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1122/1.55, allocations: 61.16 MB / 0.776 GB, free: 75.68 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01793/1.568, allocations: 11.33 MB / 0.787 GB, free: 68.3 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007228/1.575, allocations: 4.504 MB / 0.7914 GB, free: 63.77 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02809/1.604, allocations: 14.33 MB / 0.8054 GB, free: 49.63 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/1.604, allocations: 82.11 kB / 0.8055 GB, free: 49.54 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 7.625e-06/1.604, allocations: 0 / 0.8055 GB, free: 49.54 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03462/1.638, allocations: 15.43 MB / 0.8206 GB, free: 34.08 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/1.638, allocations: 120.7 kB / 0.8207 GB, free: 33.94 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008657/1.647, allocations: 4.986 MB / 0.8255 GB, free: 29.08 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001054/1.648, allocations: 101.7 kB / 0.8256 GB, free: 28.97 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003386/1.651, allocations: 6.104 MB / 0.8316 GB, free: 23.32 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002245/1.654, allocations: 1.666 MB / 0.8332 GB, free: 21.64 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00427/1.658, allocations: 1.559 MB / 0.8347 GB, free: 20.07 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.319e-05/1.658, allocations: 301.1 kB / 0.835 GB, free: 19.78 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006379/1.664, allocations: 4.148 MB / 0.8391 GB, free: 15.62 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007724/1.672, allocations: 7.274 MB / 0.8462 GB, free: 6.906 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01702/1.689, allocations: 11.95 MB / 0.8579 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001461/1.689, allocations: 32 kB / 0.8579 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02885/1.718, allocations: 13.06 MB / 0.8706 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/1.718, allocations: 52 kB / 0.8707 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002477/1.718, allocations: 104 kB / 0.8708 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007689/1.726, allocations: 3.094 MB / 0.8738 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006646/1.733, allocations: 1.603 MB / 0.8754 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/1.734, allocations: 335.2 kB / 0.8757 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007564/1.741, allocations: 1.044 MB / 0.8767 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/1.743, allocations: 392 kB / 0.8771 GB, free: 5.734 MB / 0.6075 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.01398/1.757, allocations: 5.394 MB / 0.8824 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001609/1.759, allocations: 0.5046 MB / 0.8829 GB, free: 15.81 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02015/1.779, allocations: 9.532 MB / 0.8922 GB, free: 6.254 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.445e-05/1.779, allocations: 44 kB / 0.8922 GB, free: 6.211 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/1.779, allocations: 7.938 kB / 0.8922 GB, free: 6.203 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-05/1.779, allocations: 23.91 kB / 0.8922 GB, free: 6.18 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04257/1.822, allocations: 17.97 MB / 0.9098 GB, free: 4.148 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/1.822, allocations: 4 kB / 0.9098 GB, free: 4.145 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003849/1.826, allocations: 0.741 MB / 0.9105 GB, free: 3.402 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007313/1.833, allocations: 2.964 MB / 0.9134 GB, free: 436 kB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009456/1.834, allocations: 107.9 kB / 0.9135 GB, free: 328 kB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007603/1.835, allocations: 150.4 kB / 0.9137 GB, free: 168 kB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.835, allocations: 0 / 0.9137 GB, free: 168 kB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02717/1.862, allocations: 14.16 MB / 0.9275 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0043/1.866, allocations: 1.333 MB / 0.9288 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001515/1.868, allocations: 79.94 kB / 0.9289 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003872/1.871, allocations: 367.5 kB / 0.9292 GB, free: 188 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/1.873, allocations: 343.2 kB / 0.9295 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005948/1.873, allocations: 140 kB / 0.9297 GB, free: 15.71 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007122/1.88, allocations: 3.207 MB / 0.9328 GB, free: 12.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/1.88, allocations: 0 / 0.9328 GB, free: 12.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01162/1.892, allocations: 3.246 MB / 0.936 GB, free: 9.246 MB / 0.67 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.001443/1.893, allocations: 254.6 kB / 0.9362 GB, free: 8.988 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.2849/2.178, allocations: 9.512 MB / 0.9455 GB, free: 211.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/2.178, allocations: 0.875 kB / 0.9455 GB, free: 211.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01062/2.189, allocations: 4.122 MB / 0.9495 GB, free: 211 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007056/2.196, allocations: 1.266 MB / 0.9508 GB, free: 210.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03739/2.233, allocations: 24.5 MB / 0.9747 GB, free: 200.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01105/2.244, allocations: 8.636 MB / 0.9831 GB, free: 198.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007044/2.251, allocations: 2.844 MB / 0.9859 GB, free: 197.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/2.253, allocations: 397.1 kB / 0.9863 GB, free: 197.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.112e-06/2.253, allocations: 0 / 0.9863 GB, free: 197.9 MB / 0.67 GB Notification: Performance of Templates: time 0.1223/2.375, allocations: 82.68 MB / 1.067 GB, free: 133 MB / 0.67 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/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: 10.392575256060809]