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.001411/0.001411, allocations: 117.6 kB / 17.09 MB, free: 5.938 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.001472/0.001472, allocations: 198.9 kB / 18.01 MB, free: 5.027 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.403/1.403, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.1972/0.1972, allocations: 43.52 MB / 314.8 MB, free: 448 kB / 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.001336/0.001336, allocations: 73.45 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1056, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02161/0.1272, allocations: 22.9 MB / 0.5109 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.1388, allocations: 5.502 MB / 0.5163 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004402/0.1432, allocations: 163.5 kB / 0.5164 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02021/0.1635, allocations: 9.498 MB / 0.5257 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008156/0.1716, allocations: 2.385 MB / 0.528 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004804/0.1765, allocations: 1.712 MB / 0.5297 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2316/0.4081, allocations: 14.65 MB / 0.544 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05305/0.4612, allocations: 34.38 MB / 0.5776 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02792/0.4891, allocations: 9.513 MB / 0.5869 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01765/0.5068, allocations: 8.846 MB / 0.5955 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008087/0.515, allocations: 2.113 MB / 0.5976 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008972/0.524, allocations: 2.342 MB / 0.5999 GB, free: 2.793 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00702/0.531, allocations: 4.397 MB / 0.6042 GB, free: 14.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01609/0.5472, allocations: 8.525 MB / 0.6125 GB, free: 6.098 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03298/0.5802, allocations: 28.71 MB / 0.6405 GB, free: 10.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5802, allocations: 0 / 0.6405 GB, free: 10.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5802, allocations: 4 kB / 0.6405 GB, free: 10.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001035/0.5813, allocations: 0 / 0.6405 GB, free: 10.07 MB / 494.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.0598/0.6411, allocations: 18.93 MB / 0.659 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.6412, allocations: 8.031 kB / 0.659 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06458/0.7058, allocations: 12.67 MB / 0.6714 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0204/0.7262, allocations: 7.948 MB / 0.6792 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001793/0.7281, allocations: 1.073 MB / 0.6802 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006359/0.7345, allocations: 1.385 MB / 0.6816 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06016/0.7946, allocations: 24.11 MB / 0.7051 GB, free: 8.469 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005523/0.7952, allocations: 23.8 kB / 0.7051 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005037/0.8003, allocations: 0.5841 MB / 0.7057 GB, free: 7.875 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007997/0.8011, allocations: 0.7295 MB / 0.7064 GB, free: 7.145 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04835/0.8495, allocations: 22.44 MB / 0.7283 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.63/1.48, allocations: 72.41 MB / 0.799 GB, free: 116.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02115/1.501, allocations: 31.61 MB / 0.8299 GB, free: 92.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007727/1.509, allocations: 5.076 MB / 0.8349 GB, free: 91.31 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02611/1.535, allocations: 15.78 MB / 0.8503 GB, free: 84.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/1.535, allocations: 92.45 kB / 0.8504 GB, free: 84.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 5.401e-06/1.535, allocations: 0 / 0.8504 GB, free: 84.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.0316/1.566, allocations: 15.66 MB / 0.8657 GB, free: 77.08 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/1.566, allocations: 127.8 kB / 0.8658 GB, free: 76.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007315/1.574, allocations: 5.251 MB / 0.8709 GB, free: 74.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001083/1.575, allocations: 97.64 kB / 0.871 GB, free: 74.15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003119/1.578, allocations: 6.048 MB / 0.8769 GB, free: 68.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001908/1.58, allocations: 1.588 MB / 0.8785 GB, free: 67.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002163/1.582, allocations: 1.598 MB / 0.88 GB, free: 66.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.922e-05/1.582, allocations: 301.1 kB / 0.8803 GB, free: 66.35 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005297/1.587, allocations: 4.201 MB / 0.8844 GB, free: 62.44 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00667/1.594, allocations: 7.559 MB / 0.8918 GB, free: 53.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01281/1.607, allocations: 12.32 MB / 0.9038 GB, free: 39.92 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/1.607, allocations: 32 kB / 0.9038 GB, free: 39.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02124/1.628, allocations: 13.45 MB / 0.917 GB, free: 27.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/1.629, allocations: 53.09 kB / 0.917 GB, free: 27.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002064/1.629, allocations: 112.9 kB / 0.9171 GB, free: 26.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005814/1.635, allocations: 3.114 MB / 0.9202 GB, free: 23.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006/1.641, allocations: 1.664 MB / 0.9218 GB, free: 22.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007348/1.641, allocations: 322.7 kB / 0.9221 GB, free: 22.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007857/1.649, allocations: 1.1 MB / 0.9232 GB, free: 20.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001995/1.651, allocations: 402.7 kB / 0.9236 GB, free: 20.51 MB / 0.5919 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.01029/1.662, allocations: 5.469 MB / 0.9289 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/1.663, allocations: 0.5015 MB / 0.9294 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/1.679, allocations: 9.662 MB / 0.9388 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-05/1.679, allocations: 48 kB / 0.9389 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.168e-05/1.679, allocations: 0 / 0.9389 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.287e-05/1.679, allocations: 23.91 kB / 0.9389 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04398/1.723, allocations: 20.86 MB / 0.9593 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/1.723, allocations: 3.938 kB / 0.9593 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003275/1.726, allocations: 0.7305 MB / 0.96 GB, free: 15.39 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006341/1.732, allocations: 2.969 MB / 0.9629 GB, free: 12.41 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007483/1.733, allocations: 95.98 kB / 0.963 GB, free: 12.31 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005521/1.734, allocations: 122.5 kB / 0.9631 GB, free: 12.18 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.734, allocations: 0 / 0.9631 GB, free: 12.18 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02181/1.756, allocations: 14.16 MB / 0.9769 GB, free: 14.01 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003689/1.759, allocations: 1.368 MB / 0.9783 GB, free: 12.61 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001795/1.761, allocations: 80.06 kB / 0.9783 GB, free: 12.54 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003883/1.765, allocations: 367.5 kB / 0.9787 GB, free: 12.18 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/1.766, allocations: 319.3 kB / 0.979 GB, free: 11.86 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006281/1.767, allocations: 124 kB / 0.9791 GB, free: 11.74 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007062/1.774, allocations: 3.512 MB / 0.9825 GB, free: 8.238 MB / 0.6388 GB Notification: Performance of sort global known variables: time 6.61e-07/1.774, allocations: 0 / 0.9825 GB, free: 8.238 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01063/1.785, allocations: 3.229 MB / 0.9857 GB, free: 4.992 MB / 0.6388 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.001277/1.786, allocations: 256.4 kB / 0.9859 GB, free: 4.773 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01926/1.805, allocations: 10.03 MB / 0.9957 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.805, allocations: 4.875 kB / 0.9957 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01072/1.816, allocations: 4.453 MB / 1 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00843/1.824, allocations: 1.282 MB / 1.001 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3172/2.142, allocations: 23.87 MB / 1.025 GB, free: 231.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01994/2.162, allocations: 8.816 MB / 1.033 GB, free: 230.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002214/2.164, allocations: 450.4 kB / 1.034 GB, free: 230.1 MB / 0.6544 GB Notification: Performance of SimCode: time 6.41e-07/2.164, allocations: 0 / 1.034 GB, free: 230.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.7058/2.87, allocations: 387.4 MB / 1.412 GB, free: 94.76 MB / 0.6544 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