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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009762/0.0009767, allocations: 111.8 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3702/0.3702, allocations: 44.13 MB / 386.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 51.92 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5286/0.5298, allocations: 60.8 MB / 0.5064 GB, free: 38.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02901/0.5588, allocations: 22.32 MB / 0.5282 GB, free: 21.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01696/0.5759, allocations: 5.414 MB / 0.5335 GB, free: 18.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007358/0.5833, allocations: 184.5 kB / 0.5336 GB, free: 17.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02553/0.6088, allocations: 8.995 MB / 0.5424 GB, free: 12.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0151/0.6239, allocations: 2.108 MB / 0.5445 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009259/0.6332, allocations: 1.587 MB / 0.546 GB, free: 10.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03152/0.6648, allocations: 14.7 MB / 0.5604 GB, free: 3.441 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.09155/0.7564, allocations: 29.05 MB / 0.5888 GB, free: 11.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02275/0.7792, allocations: 7.042 MB / 0.5956 GB, free: 4.449 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02682/0.8061, allocations: 8.404 MB / 0.6038 GB, free: 12.02 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.009149/0.8153, allocations: 1.516 MB / 0.6053 GB, free: 10.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01335/0.8287, allocations: 1.738 MB / 0.607 GB, free: 8.762 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009957/0.8387, allocations: 3.677 MB / 0.6106 GB, free: 5.074 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0271/0.8659, allocations: 7.779 MB / 0.6182 GB, free: 13.26 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05236/0.9183, allocations: 28.03 MB / 0.6456 GB, free: 1.145 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.9184, allocations: 0 / 0.6456 GB, free: 1.145 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.9184, allocations: 0 / 0.6456 GB, free: 1.145 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001063/0.9195, allocations: 0 / 0.6456 GB, free: 1.145 MB / 458.7 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.09481/1.014, allocations: 18.69 MB / 0.6638 GB, free: 14.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/1.014, allocations: 15.97 kB / 0.6639 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09108/1.105, allocations: 11.68 MB / 0.6753 GB, free: 2.621 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5937/1.699, allocations: 8.549 MB / 0.6836 GB, free: 104.9 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001088/1.7, allocations: 1.061 MB / 0.6846 GB, free: 104.5 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007527/1.708, allocations: 1.37 MB / 0.686 GB, free: 104 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0669/1.775, allocations: 23.58 MB / 0.709 GB, free: 95.21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006177/1.776, allocations: 20.59 kB / 0.709 GB, free: 95.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005172/1.781, allocations: 0.5693 MB / 0.7096 GB, free: 94.77 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001006/1.782, allocations: 0.6981 MB / 0.7103 GB, free: 94.71 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05369/1.835, allocations: 21.69 MB / 0.7314 GB, free: 87.21 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1567/1.992, allocations: 71.71 MB / 0.8015 GB, free: 16.98 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0271/2.019, allocations: 28.67 MB / 0.8295 GB, free: 1.629 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01151/2.031, allocations: 4.962 MB / 0.8343 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04067/2.072, allocations: 15.69 MB / 0.8496 GB, free: 12.75 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.644e-05/2.072, allocations: 78.11 kB / 0.8497 GB, free: 12.66 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=465): time 8.747e-06/2.072, allocations: 0 / 0.8497 GB, free: 12.66 MB / 0.5262 GB Notification: Performance of matching and sorting (n=465): time 0.0516/2.123, allocations: 15.71 MB / 0.8651 GB, free: 12.87 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/2.124, allocations: 128.6 kB / 0.8652 GB, free: 12.72 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01362/2.137, allocations: 5.105 MB / 0.8702 GB, free: 7.613 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.001291/2.139, allocations: 97.7 kB / 0.8703 GB, free: 7.512 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.005588/2.144, allocations: 5.878 MB / 0.876 GB, free: 1.562 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.003045/2.147, allocations: 1.591 MB / 0.8775 GB, free: 15.95 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006837/2.154, allocations: 1.531 MB / 0.879 GB, free: 14.41 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001417/2.154, allocations: 309.1 kB / 0.8793 GB, free: 14.1 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008736/2.163, allocations: 4.144 MB / 0.8834 GB, free: 9.949 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01171/2.175, allocations: 7.271 MB / 0.8905 GB, free: 1.234 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3798/2.555, allocations: 11.92 MB / 0.9021 GB, free: 161 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001378/2.555, allocations: 31.12 kB / 0.9022 GB, free: 161 MB / 0.5574 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02944/2.584, allocations: 13.1 MB / 0.915 GB, free: 156.3 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001752/2.585, allocations: 53.95 kB / 0.915 GB, free: 156.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002569/2.585, allocations: 103.6 kB / 0.9151 GB, free: 156.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006864/2.592, allocations: 3.09 MB / 0.9181 GB, free: 155.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007006/2.599, allocations: 1.598 MB / 0.9197 GB, free: 155.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/2.6, allocations: 337.4 kB / 0.92 GB, free: 155.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01099/2.611, allocations: 1.068 MB / 0.921 GB, free: 155 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002265/2.613, allocations: 377.3 kB / 0.9214 GB, free: 154.9 MB / 0.5574 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.01274/2.626, allocations: 5.392 MB / 0.9267 GB, free: 152.6 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001793/2.628, allocations: 0.4987 MB / 0.9272 GB, free: 152.5 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02221/2.65, allocations: 9.637 MB / 0.9366 GB, free: 148.8 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.695e-05/2.65, allocations: 49.41 kB / 0.9366 GB, free: 148.8 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.914e-05/2.65, allocations: 1.062 kB / 0.9366 GB, free: 148.8 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.936e-05/2.65, allocations: 25.83 kB / 0.9366 GB, free: 148.8 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05275/2.703, allocations: 20.79 MB / 0.9569 GB, free: 141.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.947e-05/2.703, allocations: 0 / 0.9569 GB, free: 141.1 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003391/2.707, allocations: 0.7299 MB / 0.9577 GB, free: 141.1 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006437/2.713, allocations: 2.966 MB / 0.9606 GB, free: 140.3 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001207/2.714, allocations: 98.16 kB / 0.9606 GB, free: 140.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007133/2.715, allocations: 154.5 kB / 0.9608 GB, free: 140.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/2.715, allocations: 3.938 kB / 0.9608 GB, free: 140.1 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04071/2.756, allocations: 23.29 MB / 0.9835 GB, free: 121.1 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004572/2.76, allocations: 1.363 MB / 0.9849 GB, free: 119.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001971/2.762, allocations: 76 kB / 0.9849 GB, free: 119.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004064/2.766, allocations: 379.8 kB / 0.9853 GB, free: 119.6 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001397/2.768, allocations: 315.4 kB / 0.9856 GB, free: 119.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008777/2.769, allocations: 131.3 kB / 0.9857 GB, free: 119.2 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.007414/2.776, allocations: 3.42 MB / 0.9891 GB, free: 116.5 MB / 0.5574 GB Notification: Performance of sort global known variables: time 4.91e-07/2.776, allocations: 4 kB / 0.9891 GB, free: 116.5 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01288/2.789, allocations: 3.461 MB / 0.9925 GB, free: 113 MB / 0.5574 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.001439/2.791, allocations: 247.2 kB / 0.9927 GB, free: 112.7 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01771/2.808, allocations: 9.886 MB / 1.002 GB, free: 103 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/2.808, allocations: 8.062 kB / 1.002 GB, free: 103 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.008103/2.816, allocations: 4.435 MB / 1.007 GB, free: 98.53 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007989/2.824, allocations: 1.191 MB / 1.008 GB, free: 97.36 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05729/2.882, allocations: 32.61 MB / 1.04 GB, free: 64.75 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01833/2.9, allocations: 9.135 MB / 1.049 GB, free: 55.57 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01005/2.91, allocations: 2.873 MB / 1.051 GB, free: 52.7 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002406/2.913, allocations: 371.4 kB / 1.052 GB, free: 52.34 MB / 0.5574 GB Notification: Performance of SimCode: time 9.12e-07/2.913, allocations: 0 / 1.052 GB, free: 52.34 MB / 0.5574 GB Notification: Performance of Templates: time 0.4232/3.336, allocations: 96.18 MB / 1.146 GB, free: 138.6 MB / 0.5574 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches