Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 196.7 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 251.6 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.92 MB / 351.6 MB, free: 12.26 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 67.89 kB / 495.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.46, allocations: 64.25 MB / 0.5464 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02696/0.4869, allocations: 22.86 MB / 0.5687 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01607/0.503, allocations: 5.485 MB / 0.5741 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007657/0.5106, allocations: 191.4 kB / 0.5742 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02614/0.5368, allocations: 9.555 MB / 0.5836 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01283/0.5496, allocations: 2.327 MB / 0.5858 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008324/0.5579, allocations: 1.712 MB / 0.5875 GB, free: 5.648 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02511/0.5831, allocations: 14.47 MB / 0.6016 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05045/0.6335, allocations: 20.05 MB / 0.6212 GB, free: 2.871 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01536/0.6489, allocations: 8.003 MB / 0.629 GB, free: 10.85 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01863/0.6675, allocations: 8.795 MB / 0.6376 GB, free: 2.023 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007227/0.6747, allocations: 2.102 MB / 0.6397 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01062/0.6853, allocations: 2.336 MB / 0.642 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01012/0.6955, allocations: 4.329 MB / 0.6462 GB, free: 9.246 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01976/0.7152, allocations: 8.432 MB / 0.6544 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04331/0.7585, allocations: 28.75 MB / 0.6825 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.7585, allocations: 4 kB / 0.6825 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7585, allocations: 0 / 0.6825 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0009503/0.7595, allocations: 0 / 0.6825 GB, free: 3.941 MB / 0.5137 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.06392/0.8234, allocations: 19.02 MB / 0.7011 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.8235, allocations: 8.031 kB / 0.7011 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06169/0.8851, allocations: 11.75 MB / 0.7125 GB, free: 5.016 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02431/0.9095, allocations: 8.869 MB / 0.7212 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001629/0.9111, allocations: 1.056 MB / 0.7222 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007581/0.9187, allocations: 1.383 MB / 0.7236 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7348/1.653, allocations: 23.57 MB / 0.7466 GB, free: 134 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008503/1.654, allocations: 23.11 kB / 0.7466 GB, free: 134 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008006/1.662, allocations: 0.5702 MB / 0.7472 GB, free: 133.6 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007711/1.663, allocations: 0.7018 MB / 0.7479 GB, free: 133.5 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05401/1.717, allocations: 21.68 MB / 0.769 GB, free: 122.9 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1316/1.849, allocations: 71.03 MB / 0.8384 GB, free: 51.41 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02205/1.871, allocations: 28.05 MB / 0.8658 GB, free: 20.68 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007604/1.878, allocations: 4.504 MB / 0.8702 GB, free: 16.16 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02754/1.906, allocations: 15.69 MB / 0.8855 GB, free: 476 kB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/1.906, allocations: 86.09 kB / 0.8856 GB, free: 380 kB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 6.702e-06/1.906, allocations: 0 / 0.8856 GB, free: 380 kB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.04414/1.95, allocations: 15.65 MB / 0.9009 GB, free: 0.6367 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/1.95, allocations: 124.7 kB / 0.901 GB, free: 0.4961 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01441/1.965, allocations: 5.114 MB / 0.906 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.00131/1.966, allocations: 97.7 kB / 0.9061 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.006118/1.972, allocations: 6.097 MB / 0.912 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003283/1.975, allocations: 1.666 MB / 0.9137 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006361/1.982, allocations: 1.54 MB / 0.9152 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.982, allocations: 301.1 kB / 0.9155 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00762/1.989, allocations: 4.141 MB / 0.9195 GB, free: 14.09 MB / 0.6076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01092/2, allocations: 7.27 MB / 0.9266 GB, free: 5.379 MB / 0.6076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02/2.02, allocations: 11.93 MB / 0.9383 GB, free: 7.984 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/2.02, allocations: 32 kB / 0.9383 GB, free: 7.953 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03247/2.053, allocations: 13.05 MB / 0.951 GB, free: 10.88 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001583/2.053, allocations: 49 kB / 0.9511 GB, free: 10.83 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002295/2.053, allocations: 104 kB / 0.9512 GB, free: 10.73 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007209/2.061, allocations: 3.094 MB / 0.9542 GB, free: 7.625 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006511/2.067, allocations: 1.595 MB / 0.9558 GB, free: 6.031 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/2.068, allocations: 339 kB / 0.9561 GB, free: 5.691 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007568/2.076, allocations: 1.079 MB / 0.9571 GB, free: 4.605 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002014/2.078, allocations: 380 kB / 0.9575 GB, free: 4.234 MB / 0.6388 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.01292/2.091, allocations: 5.39 MB / 0.9628 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001862/2.092, allocations: 0.5239 MB / 0.9633 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02087/2.113, allocations: 9.549 MB / 0.9726 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.73e-05/2.113, allocations: 48 kB / 0.9726 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.653e-05/2.113, allocations: 0 / 0.9726 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001024/2.114, allocations: 27.84 kB / 0.9727 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.491/2.605, allocations: 20.68 MB / 0.9929 GB, free: 228.3 MB / 0.6701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-05/2.605, allocations: 1.219 kB / 0.9929 GB, free: 228.3 MB / 0.6701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004965/2.61, allocations: 0.73 MB / 0.9936 GB, free: 228.3 MB / 0.6701 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008017/2.618, allocations: 2.964 MB / 0.9965 GB, free: 228.2 MB / 0.6701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001368/2.619, allocations: 101.1 kB / 0.9966 GB, free: 228.2 MB / 0.6701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007286/2.62, allocations: 152.5 kB / 0.9967 GB, free: 228.2 MB / 0.6701 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/2.62, allocations: 1.094 kB / 0.9967 GB, free: 228.2 MB / 0.6701 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02737/2.647, allocations: 14.16 MB / 1.011 GB, free: 224.2 MB / 0.6701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008089/2.655, allocations: 1.389 MB / 1.012 GB, free: 223.8 MB / 0.6701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00381/2.659, allocations: 75.69 kB / 1.012 GB, free: 223.7 MB / 0.6701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007375/2.666, allocations: 370.5 kB / 1.012 GB, free: 223.7 MB / 0.6701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002436/2.669, allocations: 315.2 kB / 1.013 GB, free: 223.6 MB / 0.6701 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006105/2.669, allocations: 129.1 kB / 1.013 GB, free: 223.6 MB / 0.6701 GB Notification: Performance of sorting global known variables: time 0.009259/2.679, allocations: 3.42 MB / 1.016 GB, free: 222.4 MB / 0.6701 GB Notification: Performance of sort global known variables: time 2.1e-07/2.679, allocations: 0 / 1.016 GB, free: 222.4 MB / 0.6701 GB Notification: Performance of remove unused functions: time 0.0186/2.697, allocations: 3.229 MB / 1.019 GB, free: 221.9 MB / 0.6701 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.002222/2.699, allocations: 262.2 kB / 1.019 GB, free: 221.7 MB / 0.6701 GB Notification: Performance of simCode: created initialization part: time 0.03194/2.731, allocations: 9.497 MB / 1.029 GB, free: 218.6 MB / 0.6701 GB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/2.731, allocations: 0 / 1.029 GB, free: 218.6 MB / 0.6701 GB Notification: Performance of simCode: created simulation system equations: time 0.01734/2.749, allocations: 4.097 MB / 1.033 GB, free: 217.2 MB / 0.6701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01547/2.764, allocations: 1.27 MB / 1.034 GB, free: 216.7 MB / 0.6701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09735/2.862, allocations: 24.54 MB / 1.058 GB, free: 197.6 MB / 0.6701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03069/2.892, allocations: 9.008 MB / 1.067 GB, free: 189.7 MB / 0.6701 GB Notification: Performance of simCode: alias equations: time 0.01493/2.907, allocations: 2.865 MB / 1.07 GB, free: 186.8 MB / 0.6701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00336/2.911, allocations: 379.4 kB / 1.07 GB, free: 186.5 MB / 0.6701 GB Notification: Performance of SimCode: time 1.933e-06/2.911, allocations: 1.859 kB / 1.07 GB, free: 186.5 MB / 0.6701 GB Notification: Performance of Templates: time 0.185/3.096, allocations: 94.47 MB / 1.162 GB, free: 92.56 MB / 0.6701 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.7455182261765]