Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 98.91 kB / 16.93 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 183.3 kB / 17.86 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 223.7 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2091/0.2091, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 69.25 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1099, allocations: 57.79 MB / 441.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.0218/0.1318, allocations: 22.89 MB / 464.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01391/0.1457, allocations: 5.502 MB / 469.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005287/0.1511, allocations: 167.4 kB / 469.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02151/0.1726, allocations: 9.5 MB / 479.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009715/0.1823, allocations: 2.384 MB / 481.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005695/0.1881, allocations: 1.706 MB / 483.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01856/0.2066, allocations: 14.57 MB / 497.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07406/0.2807, allocations: 34.45 MB / 0.5199 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01314/0.2939, allocations: 8.038 MB / 0.5277 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3849/0.6789, allocations: 8.847 MB / 0.5364 GB, free: 37.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007359/0.6863, allocations: 2.112 MB / 0.5384 GB, free: 37.58 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/0.6966, allocations: 2.344 MB / 0.5407 GB, free: 37.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009523/0.7062, allocations: 4.406 MB / 0.545 GB, free: 37.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02096/0.7272, allocations: 8.525 MB / 0.5534 GB, free: 35.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02851/0.7557, allocations: 28.53 MB / 0.5812 GB, free: 18.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.7558, allocations: 0 / 0.5812 GB, free: 18.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.7558, allocations: 0 / 0.5812 GB, free: 18.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0009164/0.7567, allocations: 0 / 0.5812 GB, free: 18.69 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.0578/0.8145, allocations: 18.94 MB / 0.5997 GB, free: 6.711 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.8146, allocations: 8.031 kB / 0.5997 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06623/0.8808, allocations: 12.67 MB / 0.6121 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01711/0.898, allocations: 7.906 MB / 0.6198 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001203/0.8992, allocations: 1.068 MB / 0.6208 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005986/0.9052, allocations: 1.396 MB / 0.6222 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06287/0.9681, allocations: 24.1 MB / 0.6457 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007055/0.9689, allocations: 19.91 kB / 0.6458 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005372/0.9743, allocations: 0.5845 MB / 0.6463 GB, free: 7.398 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008689/0.9752, allocations: 0.7296 MB / 0.647 GB, free: 6.668 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05166/1.027, allocations: 22.45 MB / 0.669 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4477/1.475, allocations: 73.29 MB / 0.7405 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0254/1.5, allocations: 31.61 MB / 0.7714 GB, free: 95.33 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008349/1.508, allocations: 5.066 MB / 0.7764 GB, free: 95.26 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02818/1.537, allocations: 15.84 MB / 0.7918 GB, free: 93.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.483e-05/1.537, allocations: 90.14 kB / 0.7919 GB, free: 93.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 7.454e-06/1.537, allocations: 0 / 0.7919 GB, free: 93.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03381/1.571, allocations: 15.66 MB / 0.8072 GB, free: 92.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/1.571, allocations: 132.6 kB / 0.8073 GB, free: 92.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00921/1.58, allocations: 5.251 MB / 0.8125 GB, free: 90.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/1.581, allocations: 101.9 kB / 0.8126 GB, free: 90.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004169/1.585, allocations: 6.043 MB / 0.8185 GB, free: 85.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002561/1.588, allocations: 1.594 MB / 0.82 GB, free: 84.06 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00373/1.592, allocations: 1.596 MB / 0.8216 GB, free: 83.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.524e-05/1.592, allocations: 305.2 kB / 0.8219 GB, free: 82.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006218/1.598, allocations: 4.2 MB / 0.826 GB, free: 80.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008168/1.606, allocations: 7.563 MB / 0.8334 GB, free: 73.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01462/1.621, allocations: 12.31 MB / 0.8454 GB, free: 59.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/1.621, allocations: 36 kB / 0.8454 GB, free: 59.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02328/1.644, allocations: 13.45 MB / 0.8585 GB, free: 46.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.128e-05/1.644, allocations: 52 kB / 0.8586 GB, free: 46.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001642/1.645, allocations: 112 kB / 0.8587 GB, free: 46.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005659/1.65, allocations: 3.124 MB / 0.8617 GB, free: 43.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005978/1.656, allocations: 1.667 MB / 0.8634 GB, free: 42.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000659/1.657, allocations: 321.7 kB / 0.8637 GB, free: 41.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007069/1.664, allocations: 1.103 MB / 0.8648 GB, free: 40.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001575/1.666, allocations: 404 kB / 0.8651 GB, free: 40.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (853): * Single equations (assignments): 850 * 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.01098/1.677, allocations: 5.468 MB / 0.8705 GB, free: 34.94 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.678, allocations: 0.5015 MB / 0.871 GB, free: 34.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/1.692, allocations: 9.662 MB / 0.8804 GB, free: 24.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.91e-05/1.692, allocations: 48 kB / 0.8805 GB, free: 24.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/1.692, allocations: 0 / 0.8805 GB, free: 24.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.062e-05/1.692, allocations: 31.38 kB / 0.8805 GB, free: 24.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04279/1.735, allocations: 20.89 MB / 0.9009 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/1.735, allocations: 0 / 0.9009 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003274/1.738, allocations: 0.7366 MB / 0.9016 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005626/1.744, allocations: 2.981 MB / 0.9045 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009396/1.745, allocations: 99.97 kB / 0.9046 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005776/1.745, allocations: 126.5 kB / 0.9047 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.745, allocations: 3.281 kB / 0.9047 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02389/1.769, allocations: 14.14 MB / 0.9185 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004066/1.774, allocations: 1.368 MB / 0.9199 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/1.775, allocations: 78.73 kB / 0.9199 GB, free: 296 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0037/1.779, allocations: 367.6 kB / 0.9203 GB, free: 15.93 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007394/1.779, allocations: 315.4 kB / 0.9206 GB, free: 15.62 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003285/1.78, allocations: 136 kB / 0.9207 GB, free: 15.49 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006862/1.787, allocations: 3.505 MB / 0.9242 GB, free: 11.99 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.91e-07/1.787, allocations: 0 / 0.9242 GB, free: 11.99 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01186/1.799, allocations: 3.235 MB / 0.9273 GB, free: 8.742 MB / 0.5607 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.001533/1.8, allocations: 252.5 kB / 0.9276 GB, free: 8.523 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.04497/1.845, allocations: 19.75 MB / 0.9468 GB, free: 5.172 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.845, allocations: 4 kB / 0.9468 GB, free: 5.168 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.01129/1.856, allocations: 4.443 MB / 0.9512 GB, free: 0.7734 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2622/2.119, allocations: 1.278 MB / 0.9524 GB, free: 213 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05336/2.172, allocations: 24.16 MB / 0.976 GB, free: 206.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01309/2.185, allocations: 8.811 MB / 0.9846 GB, free: 203.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002571/2.188, allocations: 449.6 kB / 0.9851 GB, free: 203.6 MB / 0.5763 GB Notification: Performance of SimCode: time 1.733e-06/2.188, allocations: 0 / 0.9851 GB, free: 203.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.706/2.894, allocations: 386.4 MB / 1.362 GB, free: 43.23 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches