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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 203.9 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2546/0.2546, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 79.86 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4854/0.4867, allocations: 62.42 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02741/0.5142, allocations: 22.75 MB / 0.5532 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0175/0.5317, allocations: 5.51 MB / 0.5586 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008546/0.5403, allocations: 195.4 kB / 0.5588 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02213/0.5626, allocations: 9.485 MB / 0.568 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01084/0.5734, allocations: 2.147 MB / 0.5701 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006485/0.5799, allocations: 1.901 MB / 0.572 GB, free: 7.664 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01969/0.5996, allocations: 14.46 MB / 0.5861 GB, free: 9.148 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05813/0.6578, allocations: 34.3 MB / 0.6196 GB, free: 6.621 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01531/0.6732, allocations: 7.96 MB / 0.6274 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.018/0.6912, allocations: 8.732 MB / 0.6359 GB, free: 5.879 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007802/0.6991, allocations: 2.098 MB / 0.638 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009968/0.7091, allocations: 2.347 MB / 0.6403 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009006/0.7181, allocations: 4.329 MB / 0.6445 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.02006/0.7382, allocations: 8.42 MB / 0.6527 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04297/0.7812, allocations: 28.77 MB / 0.6808 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.7813, allocations: 0 / 0.6808 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.896e-06/0.7813, allocations: 4 kB / 0.6808 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001342/0.7826, allocations: 0 / 0.6808 GB, free: 7.777 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.07151/0.8542, allocations: 19.01 MB / 0.6994 GB, free: 4.645 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/0.8542, allocations: 8.031 kB / 0.6994 GB, free: 4.637 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06207/0.9163, allocations: 11.77 MB / 0.7109 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7822/1.699, allocations: 8.871 MB / 0.7195 GB, free: 142.4 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002142/1.701, allocations: 1.06 MB / 0.7206 GB, free: 142.4 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007821/1.709, allocations: 1.371 MB / 0.7219 GB, free: 142.4 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06852/1.777, allocations: 23.59 MB / 0.7449 GB, free: 133.6 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006294/1.778, allocations: 22.05 kB / 0.7449 GB, free: 133.6 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006119/1.784, allocations: 0.5699 MB / 0.7455 GB, free: 133.2 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006764/1.785, allocations: 0.6958 MB / 0.7462 GB, free: 133.1 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04699/1.832, allocations: 21.68 MB / 0.7674 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1223/1.954, allocations: 72.01 MB / 0.8377 GB, free: 40.21 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02127/1.975, allocations: 28.66 MB / 0.8657 GB, free: 8.867 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008484/1.984, allocations: 4.958 MB / 0.8705 GB, free: 3.887 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02816/2.012, allocations: 16.48 MB / 0.8866 GB, free: 3.16 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.178e-05/2.012, allocations: 86.11 kB / 0.8867 GB, free: 3.066 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 6.242e-06/2.012, allocations: 3.938 kB / 0.8867 GB, free: 3.062 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03849/2.051, allocations: 15.73 MB / 0.9021 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/2.051, allocations: 124.7 kB / 0.9022 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/2.061, allocations: 5.108 MB / 0.9072 GB, free: 14.07 MB / 0.6076 GB Notification: Performance of collectPreVariables (initialization): time 0.001076/2.062, allocations: 101.7 kB / 0.9073 GB, free: 13.96 MB / 0.6076 GB Notification: Performance of collectInitialEqns (initialization): time 0.004343/2.067, allocations: 6.103 MB / 0.9132 GB, free: 8.371 MB / 0.6076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002409/2.069, allocations: 1.662 MB / 0.9148 GB, free: 6.695 MB / 0.6076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002602/2.072, allocations: 1.54 MB / 0.9164 GB, free: 5.148 MB / 0.6076 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/2.072, allocations: 301.1 kB / 0.9166 GB, free: 4.852 MB / 0.6076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006389/2.078, allocations: 4.148 MB / 0.9207 GB, free: 0.6992 MB / 0.6076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009081/2.087, allocations: 7.263 MB / 0.9278 GB, free: 7.992 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01807/2.105, allocations: 11.93 MB / 0.9394 GB, free: 10.59 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/2.106, allocations: 35.94 kB / 0.9395 GB, free: 10.56 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02697/2.132, allocations: 13.13 MB / 0.9523 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/2.133, allocations: 48 kB / 0.9523 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002275/2.133, allocations: 108 kB / 0.9524 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00807/2.141, allocations: 3.091 MB / 0.9555 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007154/2.148, allocations: 1.603 MB / 0.957 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/2.149, allocations: 331 kB / 0.9573 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008507/2.158, allocations: 1.079 MB / 0.9584 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002125/2.16, allocations: 388 kB / 0.9588 GB, free: 6.754 MB / 0.6544 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.01362/2.174, allocations: 5.393 MB / 0.964 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001528/2.175, allocations: 0.5239 MB / 0.9645 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4068/2.582, allocations: 9.624 MB / 0.9739 GB, free: 217.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.556e-05/2.582, allocations: 50.09 kB / 0.974 GB, free: 217.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/2.582, allocations: 1.125 kB / 0.974 GB, free: 217.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-05/2.582, allocations: 23.25 kB / 0.974 GB, free: 217.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0437/2.626, allocations: 20.76 MB / 0.9943 GB, free: 210.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/2.626, allocations: 4.641 kB / 0.9943 GB, free: 210.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003402/2.629, allocations: 0.7261 MB / 0.995 GB, free: 210 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005463/2.635, allocations: 2.971 MB / 0.9979 GB, free: 209.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007268/2.636, allocations: 97.56 kB / 0.998 GB, free: 209.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005713/2.636, allocations: 148.3 kB / 0.9981 GB, free: 209.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/2.636, allocations: 7.875 kB / 0.9981 GB, free: 209.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01784/2.654, allocations: 14.23 MB / 1.012 GB, free: 202.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003424/2.657, allocations: 1.385 MB / 1.013 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001207/2.659, allocations: 84 kB / 1.013 GB, free: 201.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/2.662, allocations: 361.5 kB / 1.014 GB, free: 201.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006264/2.662, allocations: 321.3 kB / 1.014 GB, free: 201 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002856/2.663, allocations: 130.2 kB / 1.014 GB, free: 200.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004852/2.667, allocations: 3.423 MB / 1.018 GB, free: 198 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.11e-07/2.668, allocations: 2 kB / 1.018 GB, free: 198 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00929/2.677, allocations: 3.238 MB / 1.021 GB, free: 195.2 MB / 0.6544 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.0017/2.679, allocations: 246.2 kB / 1.021 GB, free: 194.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01639/2.695, allocations: 9.907 MB / 1.031 GB, free: 185 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/2.695, allocations: 4 kB / 1.031 GB, free: 185 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007556/2.703, allocations: 4.443 MB / 1.035 GB, free: 180.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006382/2.709, allocations: 1.271 MB / 1.036 GB, free: 179.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04341/2.752, allocations: 24.42 MB / 1.06 GB, free: 154.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01263/2.765, allocations: 9.006 MB / 1.069 GB, free: 145.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006738/2.772, allocations: 2.873 MB / 1.072 GB, free: 143 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/2.773, allocations: 375.4 kB / 1.072 GB, free: 142.7 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/2.773, allocations: 0 / 1.072 GB, free: 142.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.1323/2.905, allocations: 94.38 MB / 1.164 GB, free: 48.83 MB / 0.6544 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches