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.002048/0.002048, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002558/0.002558, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.566/1.566, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2671/0.2671, allocations: 46.89 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 179] 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.002431/0.002431, allocations: 75.88 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3699, allocations: 65.99 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02774/0.3977, allocations: 22.88 MB / 0.5835 GB, free: 14.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01669/0.4144, allocations: 5.54 MB / 0.5889 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006765/0.4211, allocations: 195.4 kB / 0.5891 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02682/0.4479, allocations: 9.57 MB / 0.5985 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.4587, allocations: 2.171 MB / 0.6006 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006577/0.4653, allocations: 1.9 MB / 0.6025 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02074/0.486, allocations: 14.47 MB / 0.6166 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04384/0.5299, allocations: 20.05 MB / 0.6362 GB, free: 7.836 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01603/0.5459, allocations: 8.011 MB / 0.644 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0166/0.5625, allocations: 8.795 MB / 0.6526 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006971/0.5695, allocations: 2.102 MB / 0.6546 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01042/0.5799, allocations: 2.355 MB / 0.6569 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01191/0.5918, allocations: 4.325 MB / 0.6612 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01731/0.6091, allocations: 8.436 MB / 0.6694 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04514/0.6543, allocations: 28.76 MB / 0.6975 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.512e-05/0.6543, allocations: 0 / 0.6975 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.739e-06/0.6543, allocations: 3.938 kB / 0.6975 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001846/0.6561, allocations: 0 / 0.6975 GB, free: 8.859 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.07236/0.7285, allocations: 19.01 MB / 0.716 GB, free: 5.727 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.7285, allocations: 8.031 kB / 0.7161 GB, free: 5.719 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06593/0.7945, allocations: 11.49 MB / 0.7273 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02656/0.821, allocations: 8.896 MB / 0.736 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001456/0.8225, allocations: 1.067 MB / 0.737 GB, free: 156 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.768/1.59, allocations: 1.367 MB / 0.7383 GB, free: 132.8 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06785/1.658, allocations: 23.63 MB / 0.7614 GB, free: 124.5 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008413/1.659, allocations: 22.22 kB / 0.7614 GB, free: 124.5 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00693/1.666, allocations: 0.5669 MB / 0.762 GB, free: 124.1 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001006/1.667, allocations: 0.7035 MB / 0.7627 GB, free: 123.9 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05035/1.717, allocations: 21.74 MB / 0.7839 GB, free: 102.8 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1415/1.859, allocations: 72.03 MB / 0.8542 GB, free: 30.04 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02236/1.881, allocations: 28.09 MB / 0.8817 GB, free: 15.26 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01044/1.892, allocations: 4.512 MB / 0.8861 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0492/1.941, allocations: 16.55 MB / 0.9022 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/1.941, allocations: 82.11 kB / 0.9023 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 6.653e-06/1.941, allocations: 0 / 0.9023 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.047/1.988, allocations: 15.68 MB / 0.9176 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/1.988, allocations: 124.7 kB / 0.9178 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01575/2.004, allocations: 5.112 MB / 0.9227 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001548/2.006, allocations: 101.7 kB / 0.9228 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.007674/2.013, allocations: 6.099 MB / 0.9288 GB, free: 15.21 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.003923/2.017, allocations: 1.666 MB / 0.9304 GB, free: 13.54 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007859/2.025, allocations: 1.555 MB / 0.9319 GB, free: 11.97 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.000171/2.025, allocations: 305.2 kB / 0.9322 GB, free: 11.67 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01041/2.036, allocations: 4.152 MB / 0.9363 GB, free: 7.516 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01613/2.052, allocations: 7.275 MB / 0.9434 GB, free: 14.8 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02424/2.076, allocations: 11.96 MB / 0.9551 GB, free: 1.375 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001941/2.076, allocations: 28 kB / 0.9551 GB, free: 1.348 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03513/2.111, allocations: 13.08 MB / 0.9679 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/2.111, allocations: 48.19 kB / 0.9679 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002387/2.112, allocations: 111.9 kB / 0.968 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00805/2.12, allocations: 3.094 MB / 0.971 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007211/2.127, allocations: 1.599 MB / 0.9726 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/2.128, allocations: 335 kB / 0.9729 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008426/2.137, allocations: 1.075 MB / 0.974 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002335/2.139, allocations: 384 kB / 0.9743 GB, free: 13.59 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.01592/2.155, allocations: 5.39 MB / 0.9796 GB, free: 8.184 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002544/2.157, allocations: 0.52 MB / 0.9801 GB, free: 7.66 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02491/2.182, allocations: 9.549 MB / 0.9894 GB, free: 14.07 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.151e-05/2.182, allocations: 48 kB / 0.9895 GB, free: 14.03 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/2.182, allocations: 3.938 kB / 0.9895 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001282/2.182, allocations: 27.84 kB / 0.9895 GB, free: 14 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5073/2.69, allocations: 20.74 MB / 1.01 GB, free: 235.9 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/2.69, allocations: 3.969 kB / 1.01 GB, free: 235.9 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003346/2.693, allocations: 0.74 MB / 1.01 GB, free: 235.9 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005476/2.699, allocations: 2.975 MB / 1.013 GB, free: 235.1 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007007/2.699, allocations: 102.5 kB / 1.013 GB, free: 235 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006078/2.7, allocations: 150.8 kB / 1.014 GB, free: 235 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/2.7, allocations: 3.938 kB / 1.014 GB, free: 235 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/2.718, allocations: 14.19 MB / 1.027 GB, free: 229.7 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004357/2.723, allocations: 1.393 MB / 1.029 GB, free: 229.3 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001408/2.724, allocations: 82.22 kB / 1.029 GB, free: 229.2 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003445/2.728, allocations: 358.7 kB / 1.029 GB, free: 229.2 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000711/2.728, allocations: 319.7 kB / 1.03 GB, free: 229.1 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003111/2.729, allocations: 141.8 kB / 1.03 GB, free: 229.1 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.00637/2.735, allocations: 3.421 MB / 1.033 GB, free: 227.9 MB / 0.6857 GB Notification: Performance of sort global known variables: time 4.51e-07/2.735, allocations: 0 / 1.033 GB, free: 227.9 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.01116/2.746, allocations: 3.234 MB / 1.036 GB, free: 227.4 MB / 0.6857 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.001556/2.748, allocations: 259 kB / 1.036 GB, free: 227.2 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.01848/2.766, allocations: 9.513 MB / 1.046 GB, free: 224.1 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/2.766, allocations: 0 / 1.046 GB, free: 224.1 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.009521/2.776, allocations: 4.111 MB / 1.05 GB, free: 220.7 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00846/2.784, allocations: 1.274 MB / 1.051 GB, free: 219.6 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05354/2.838, allocations: 24.55 MB / 1.075 GB, free: 197.6 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02042/2.858, allocations: 9.017 MB / 1.084 GB, free: 188.9 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.009068/2.867, allocations: 2.869 MB / 1.087 GB, free: 186 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00225/2.869, allocations: 399.3 kB / 1.087 GB, free: 185.6 MB / 0.6857 GB Notification: Performance of SimCode: time 2.174e-06/2.869, allocations: 0 / 1.087 GB, free: 185.6 MB / 0.6857 GB Notification: Performance of Templates: time 0.153/3.022, allocations: 95.08 MB / 1.18 GB, free: 91.11 MB / 0.6857 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.502244355622679]