Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.01062/0.01062, allocations: 105.9 kB / 21.98 MB, free: 5.223 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.002596/0.002596, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.451/1.451, allocations: 230.5 MB / 258.9 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2287/0.2287, allocations: 46.92 MB / 362.3 MB, free: 4.25 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 83.84 kB / 0.4982 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3066, allocations: 66.07 MB / 0.5627 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02616/0.3328, allocations: 22.87 MB / 0.5851 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.3456, allocations: 5.548 MB / 0.5905 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004402/0.35, allocations: 238.7 kB / 0.5907 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02233/0.3723, allocations: 9.582 MB / 0.6001 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009162/0.3815, allocations: 2.206 MB / 0.6022 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006266/0.3878, allocations: 1.946 MB / 0.6041 GB, free: 9.711 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02017/0.4079, allocations: 14.54 MB / 0.6183 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03937/0.4473, allocations: 21.29 MB / 0.6391 GB, free: 5.59 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01312/0.4604, allocations: 8.152 MB / 0.6471 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01722/0.4776, allocations: 8.803 MB / 0.6557 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006259/0.4839, allocations: 2.098 MB / 0.6577 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008079/0.492, allocations: 2.355 MB / 0.66 GB, free: 136 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007778/0.4997, allocations: 4.333 MB / 0.6643 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0179/0.5176, allocations: 8.432 MB / 0.6725 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04044/0.5581, allocations: 28.78 MB / 0.7006 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.5581, allocations: 0 / 0.7006 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.385e-06/0.5581, allocations: 0 / 0.7006 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0008405/0.5589, allocations: 0 / 0.7006 GB, free: 6.453 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.05965/0.6186, allocations: 18.93 MB / 0.7191 GB, free: 3.414 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.6186, allocations: 8.031 kB / 0.7191 GB, free: 3.406 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06009/0.6787, allocations: 11.49 MB / 0.7303 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5305/1.209, allocations: 9.04 MB / 0.7391 GB, free: 92.81 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001378/1.211, allocations: 1.059 MB / 0.7402 GB, free: 92.78 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006211/1.217, allocations: 1.369 MB / 0.7415 GB, free: 92.78 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05834/1.275, allocations: 23.63 MB / 0.7646 GB, free: 88.61 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006661/1.276, allocations: 22.45 kB / 0.7646 GB, free: 88.61 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005174/1.281, allocations: 0.5658 MB / 0.7652 GB, free: 88.17 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007637/1.282, allocations: 0.7032 MB / 0.7658 GB, free: 88.11 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04611/1.328, allocations: 21.75 MB / 0.7871 GB, free: 72.23 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1139/1.442, allocations: 69.73 MB / 0.8552 GB, free: 3.051 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.019/1.461, allocations: 11.41 MB / 0.8663 GB, free: 9.102 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009005/1.47, allocations: 4.505 MB / 0.8707 GB, free: 4.574 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03406/1.504, allocations: 15.3 MB / 0.8857 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.636e-05/1.504, allocations: 82.11 kB / 0.8857 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 6.542e-06/1.504, allocations: 0 / 0.8857 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.04069/1.545, allocations: 15.44 MB / 0.9008 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.545, allocations: 124.3 kB / 0.9009 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/1.556, allocations: 5.115 MB / 0.9059 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/1.557, allocations: 101.7 kB / 0.906 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.005547/1.563, allocations: 6.107 MB / 0.912 GB, free: 11.33 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002701/1.565, allocations: 1.666 MB / 0.9136 GB, free: 9.688 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003079/1.568, allocations: 1.563 MB / 0.9152 GB, free: 8.117 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.568, allocations: 305.1 kB / 0.9154 GB, free: 7.816 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007558/1.576, allocations: 4.155 MB / 0.9195 GB, free: 3.66 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0114/1.587, allocations: 7.267 MB / 0.9266 GB, free: 11 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01895/1.606, allocations: 11.95 MB / 0.9383 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001254/1.607, allocations: 32 kB / 0.9383 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02677/1.633, allocations: 13.08 MB / 0.9511 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.372e-05/1.633, allocations: 56.05 kB / 0.9511 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001931/1.634, allocations: 108 kB / 0.9512 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007118/1.641, allocations: 3.09 MB / 0.9542 GB, free: 14.26 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006343/1.647, allocations: 1.597 MB / 0.9558 GB, free: 12.78 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009312/1.648, allocations: 336.2 kB / 0.9561 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006214/1.654, allocations: 1.075 MB / 0.9572 GB, free: 11.41 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001387/1.656, allocations: 388 kB / 0.9575 GB, free: 11.03 MB / 0.67 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.01006/1.666, allocations: 5.397 MB / 0.9628 GB, free: 5.738 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/1.667, allocations: 0.524 MB / 0.9633 GB, free: 5.211 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01781/1.685, allocations: 9.55 MB / 0.9727 GB, free: 11.64 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.596e-05/1.685, allocations: 44 kB / 0.9727 GB, free: 11.6 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/1.685, allocations: 3.938 kB / 0.9727 GB, free: 11.59 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.713e-05/1.685, allocations: 27.91 kB / 0.9727 GB, free: 11.57 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04403/1.729, allocations: 20.86 MB / 0.9931 GB, free: 6.773 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.382e-05/1.729, allocations: 0 / 0.9931 GB, free: 6.773 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003597/1.733, allocations: 0.7442 MB / 0.9938 GB, free: 6.062 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006727/1.739, allocations: 2.965 MB / 0.9967 GB, free: 3.082 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009251/1.74, allocations: 110.2 kB / 0.9968 GB, free: 2.977 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000613/1.741, allocations: 149.3 kB / 0.997 GB, free: 2.824 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.741, allocations: 0 / 0.997 GB, free: 2.824 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3112/2.052, allocations: 14.19 MB / 1.011 GB, free: 249.9 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004026/2.056, allocations: 1.371 MB / 1.012 GB, free: 249.6 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001505/2.058, allocations: 75.81 kB / 1.012 GB, free: 249.6 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003485/2.061, allocations: 364.3 kB / 1.013 GB, free: 249.5 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000758/2.062, allocations: 341.2 kB / 1.013 GB, free: 249.5 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003235/2.062, allocations: 137 kB / 1.013 GB, free: 249.4 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.005587/2.068, allocations: 3.423 MB / 1.016 GB, free: 248.3 MB / 0.7013 GB Notification: Performance of sort global known variables: time 7e-08/2.068, allocations: 0 / 1.016 GB, free: 248.3 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.009892/2.078, allocations: 3.235 MB / 1.02 GB, free: 247.7 MB / 0.7013 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.001278/2.079, allocations: 257.6 kB / 1.02 GB, free: 247.5 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.01686/2.096, allocations: 9.511 MB / 1.029 GB, free: 244.4 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/2.096, allocations: 1.344 kB / 1.029 GB, free: 244.4 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.009149/2.105, allocations: 4.115 MB / 1.033 GB, free: 243 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008517/2.113, allocations: 1.269 MB / 1.034 GB, free: 242.6 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04207/2.156, allocations: 24.1 MB / 1.058 GB, free: 225.1 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01271/2.168, allocations: 8.713 MB / 1.066 GB, free: 218.3 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002022/2.17, allocations: 468.7 kB / 1.067 GB, free: 217.9 MB / 0.7013 GB Notification: Performance of SimCode: time 1.973e-06/2.17, allocations: 0 / 1.067 GB, free: 217.9 MB / 0.7013 GB Notification: Performance of Templates: time 0.6845/2.855, allocations: 385.9 MB / 1.444 GB, free: 99.02 MB / 0.7013 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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: 22.377465775003657]