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.00117/0.00117, allocations: 117.3 kB / 17.09 MB, free: 5.953 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.00108/0.00108, allocations: 198.9 kB / 18.01 MB, free: 5.039 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.33/1.33, 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.2143/0.2143, allocations: 43.52 MB / 314.8 MB, free: 452 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.001617/0.001617, allocations: 73.39 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1181, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02335/0.1415, allocations: 22.9 MB / 0.5109 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.1545, allocations: 5.506 MB / 0.5163 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005207/0.1598, allocations: 159.5 kB / 0.5164 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02112/0.181, allocations: 9.506 MB / 0.5257 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009762/0.1908, allocations: 2.382 MB / 0.528 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006184/0.197, allocations: 1.712 MB / 0.5297 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2743/0.4713, allocations: 14.66 MB / 0.544 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04884/0.5202, allocations: 34.34 MB / 0.5776 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02863/0.5489, allocations: 9.474 MB / 0.5868 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01664/0.5656, allocations: 8.843 MB / 0.5954 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00647/0.5721, allocations: 2.113 MB / 0.5975 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/0.5826, allocations: 2.338 MB / 0.5998 GB, free: 2.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008044/0.5907, allocations: 4.406 MB / 0.6041 GB, free: 14.38 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01828/0.609, allocations: 8.522 MB / 0.6124 GB, free: 5.957 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03496/0.644, allocations: 28.71 MB / 0.6404 GB, free: 9.934 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.644, allocations: 0 / 0.6404 GB, free: 9.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.644, allocations: 0 / 0.6404 GB, free: 9.934 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008753/0.6449, allocations: 0 / 0.6404 GB, free: 9.934 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.0622/0.7071, allocations: 18.94 MB / 0.6589 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.7072, allocations: 11.97 kB / 0.659 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06777/0.775, allocations: 12.67 MB / 0.6713 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0204/0.7954, allocations: 7.944 MB / 0.6791 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001173/0.7967, allocations: 1.072 MB / 0.6801 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006699/0.8034, allocations: 1.39 MB / 0.6815 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06563/0.869, allocations: 24.1 MB / 0.705 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000542/0.8696, allocations: 23.8 kB / 0.705 GB, free: 8.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005233/0.8749, allocations: 0.5807 MB / 0.7056 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008699/0.8758, allocations: 0.7335 MB / 0.7063 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05235/0.9281, allocations: 22.44 MB / 0.7282 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.671/1.599, allocations: 72.41 MB / 0.799 GB, free: 117 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02206/1.621, allocations: 31.61 MB / 0.8298 GB, free: 92.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00823/1.63, allocations: 5.07 MB / 0.8348 GB, free: 91.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02599/1.656, allocations: 15.79 MB / 0.8502 GB, free: 84.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.181e-05/1.656, allocations: 84.86 kB / 0.8503 GB, free: 84.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 7.233e-06/1.656, allocations: 0 / 0.8503 GB, free: 84.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.03306/1.689, allocations: 15.66 MB / 0.8656 GB, free: 77.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/1.689, allocations: 127.9 kB / 0.8657 GB, free: 77.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007952/1.697, allocations: 5.246 MB / 0.8708 GB, free: 74.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001056/1.698, allocations: 97.52 kB / 0.8709 GB, free: 74.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003216/1.701, allocations: 6.048 MB / 0.8768 GB, free: 68.99 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002151/1.703, allocations: 1.592 MB / 0.8784 GB, free: 67.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002745/1.706, allocations: 1.594 MB / 0.8799 GB, free: 66.74 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.713e-05/1.706, allocations: 305.2 kB / 0.8802 GB, free: 66.44 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006152/1.712, allocations: 4.205 MB / 0.8843 GB, free: 62.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007921/1.72, allocations: 7.562 MB / 0.8917 GB, free: 53.51 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01342/1.734, allocations: 12.31 MB / 0.9037 GB, free: 40.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.784e-05/1.734, allocations: 36 kB / 0.9038 GB, free: 40.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02075/1.755, allocations: 13.45 MB / 0.9169 GB, free: 27.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.783e-05/1.755, allocations: 53.09 kB / 0.917 GB, free: 27.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/1.755, allocations: 115.9 kB / 0.9171 GB, free: 27.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005642/1.761, allocations: 3.121 MB / 0.9201 GB, free: 23.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005996/1.767, allocations: 1.667 MB / 0.9217 GB, free: 22.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000721/1.767, allocations: 317.3 kB / 0.922 GB, free: 22.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006678/1.774, allocations: 1.1 MB / 0.9231 GB, free: 21.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001825/1.776, allocations: 404 kB / 0.9235 GB, free: 20.66 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.01035/1.786, allocations: 5.47 MB / 0.9288 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.787, allocations: 0.5092 MB / 0.9293 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/1.801, allocations: 9.65 MB / 0.9388 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.518e-05/1.801, allocations: 51.94 kB / 0.9388 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/1.801, allocations: 0 / 0.9388 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-05/1.801, allocations: 23.91 kB / 0.9388 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04081/1.842, allocations: 20.85 MB / 0.9592 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/1.842, allocations: 3.984 kB / 0.9592 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003332/1.846, allocations: 0.7299 MB / 0.9599 GB, free: 15.54 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006492/1.852, allocations: 2.961 MB / 0.9628 GB, free: 12.57 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008282/1.853, allocations: 106.5 kB / 0.9629 GB, free: 12.46 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005657/1.853, allocations: 126.5 kB / 0.963 GB, free: 12.33 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.853, allocations: 0 / 0.963 GB, free: 12.33 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02256/1.876, allocations: 14.14 MB / 0.9768 GB, free: 14.17 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004971/1.881, allocations: 1.372 MB / 0.9782 GB, free: 12.77 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001089/1.882, allocations: 80 kB / 0.9783 GB, free: 12.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002991/1.885, allocations: 363.6 kB / 0.9786 GB, free: 12.34 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000686/1.886, allocations: 315.4 kB / 0.9789 GB, free: 12.03 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003116/1.886, allocations: 136 kB / 0.979 GB, free: 11.9 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.005688/1.892, allocations: 3.51 MB / 0.9825 GB, free: 8.402 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.5e-07/1.892, allocations: 0 / 0.9825 GB, free: 8.402 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.009584/1.901, allocations: 3.236 MB / 0.9856 GB, free: 5.152 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.001077/1.903, allocations: 260.1 kB / 0.9859 GB, free: 4.926 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01828/1.921, allocations: 10.03 MB / 0.9957 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.921, allocations: 4 kB / 0.9957 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008693/1.93, allocations: 4.443 MB / 1 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006549/1.936, allocations: 1.29 MB / 1.001 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3066/2.243, allocations: 23.88 MB / 1.025 GB, free: 230.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01852/2.261, allocations: 8.822 MB / 1.033 GB, free: 229.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002281/2.264, allocations: 450.2 kB / 1.034 GB, free: 229.5 MB / 0.6544 GB Notification: Performance of SimCode: time 1.252e-06/2.264, allocations: 0 / 1.034 GB, free: 229.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.7248/2.989, allocations: 389 MB / 1.414 GB, free: 93.09 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