Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.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.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 107.2 kB / 16.41 MB, free: 6.496 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.001598/0.001599, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.784/1.784, allocations: 205.1 MB / 223.2 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.2658/0.2658, allocations: 43.54 MB / 314.1 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.001537/0.001537, allocations: 67.91 kB / 441.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1565, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02154/0.178, allocations: 19.9 MB / 0.5073 GB, free: 7.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01402/0.1921, allocations: 4.935 MB / 0.5121 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005925/0.1981, allocations: 135.6 kB / 0.5123 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01967/0.2178, allocations: 7.779 MB / 0.5199 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.2282, allocations: 2.289 MB / 0.5221 GB, free: 8.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005029/0.2332, allocations: 1.278 MB / 0.5233 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3406/0.5739, allocations: 12.37 MB / 0.5354 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04252/0.6164, allocations: 26.14 MB / 0.561 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0133/0.6298, allocations: 6.612 MB / 0.5674 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0158/0.6456, allocations: 7.329 MB / 0.5746 GB, free: 5.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006216/0.6519, allocations: 1.734 MB / 0.5763 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009011/0.6609, allocations: 1.925 MB / 0.5781 GB, free: 2.168 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01141/0.6724, allocations: 4.027 MB / 0.5821 GB, free: 0 / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01971/0.6921, allocations: 7.153 MB / 0.5891 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0315/0.7236, allocations: 23.68 MB / 0.6122 GB, free: 3.785 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7237, allocations: 0 / 0.6122 GB, free: 3.785 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.7237, allocations: 0 / 0.6122 GB, free: 3.785 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008312/0.7245, allocations: 0 / 0.6122 GB, free: 3.785 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.05018/0.7747, allocations: 14.8 MB / 0.6266 GB, free: 5.008 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/0.7748, allocations: 15.89 kB / 0.6267 GB, free: 4.992 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06643/0.8412, allocations: 12.41 MB / 0.6388 GB, free: 8.695 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0184/0.8597, allocations: 6.612 MB / 0.6452 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001235/0.861, allocations: 0.9025 MB / 0.6461 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006495/0.8675, allocations: 1.192 MB / 0.6473 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06047/0.928, allocations: 19.04 MB / 0.6659 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007306/0.9288, allocations: 23.56 kB / 0.6659 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00539/0.9342, allocations: 0.5014 MB / 0.6664 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008691/0.9351, allocations: 0.6856 MB / 0.6671 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05055/0.9856, allocations: 19.82 MB / 0.6864 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1483/1.134, allocations: 61.53 MB / 0.7465 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6297/1.764, allocations: 20.17 MB / 0.7662 GB, free: 170.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01036/1.774, allocations: 4.63 MB / 0.7707 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007525/1.775, allocations: 244.8 kB / 0.771 GB, free: 170.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/1.775, allocations: 112.6 kB / 0.7711 GB, free: 170.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 8.256e-06/1.775, allocations: 0 / 0.7711 GB, free: 170.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.02805/1.803, allocations: 12.54 MB / 0.7833 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.174e-05/1.803, allocations: 124.9 kB / 0.7834 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0154/1.819, allocations: 8.727 MB / 0.792 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001525/1.82, allocations: 136.6 kB / 0.7921 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003407/1.824, allocations: 4.601 MB / 0.7966 GB, free: 161.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002667/1.826, allocations: 2.265 MB / 0.7988 GB, free: 159.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002383/1.829, allocations: 1.506 MB / 0.8003 GB, free: 158.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.417e-05/1.829, allocations: 301.1 kB / 0.8005 GB, free: 158.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005823/1.835, allocations: 4.202 MB / 0.8047 GB, free: 157 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007508/1.842, allocations: 7.233 MB / 0.8117 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01539/1.858, allocations: 12.4 MB / 0.8238 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002346/1.858, allocations: 26.5 kB / 0.8238 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02323/1.881, allocations: 12.4 MB / 0.836 GB, free: 138.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.477e-05/1.881, allocations: 44 kB / 0.836 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002115/1.881, allocations: 100 kB / 0.8361 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009442/1.882, allocations: 421.8 kB / 0.8365 GB, free: 138.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007722/1.89, allocations: 2.102 MB / 0.8386 GB, free: 136.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005909/1.896, allocations: 9.597 MB / 0.8479 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008998/1.905, allocations: 1.397 MB / 0.8493 GB, free: 125.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002053/1.907, allocations: 395.5 kB / 0.8497 GB, free: 125 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1022): * Single equations (assignments): 1016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0109/1.918, allocations: 4.662 MB / 0.8542 GB, free: 121.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001994/1.92, allocations: 0.7175 MB / 0.8549 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01773/1.938, allocations: 11.05 MB / 0.8657 GB, free: 109.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.858e-05/1.938, allocations: 68 kB / 0.8658 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/1.938, allocations: 0 / 0.8658 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.337e-05/1.938, allocations: 35.86 kB / 0.8658 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5325/2.471, allocations: 159 MB / 1.021 GB, free: 173.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001836/2.471, allocations: 85.22 kB / 1.021 GB, free: 173.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00537/2.476, allocations: 1.574 MB / 1.023 GB, free: 173.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008747/2.477, allocations: 387.9 kB / 1.023 GB, free: 173.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006152/2.478, allocations: 252.4 kB / 1.023 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005164/2.483, allocations: 9.471 MB / 1.033 GB, free: 164.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.998e-05/2.483, allocations: 135.6 kB / 1.033 GB, free: 164.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02506/2.508, allocations: 18.85 MB / 1.051 GB, free: 153.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005633/2.514, allocations: 2.041 MB / 1.053 GB, free: 152.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001791/2.515, allocations: 244 kB / 1.053 GB, free: 152.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005505/2.521, allocations: 0.563 MB / 1.054 GB, free: 152.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/2.522, allocations: 0.7455 MB / 1.055 GB, free: 152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005196/2.523, allocations: 315 kB / 1.055 GB, free: 151.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00947/2.532, allocations: 6.118 MB / 1.061 GB, free: 149.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.11e-07/2.532, allocations: 0 / 1.061 GB, free: 149.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01116/2.543, allocations: 2.68 MB / 1.064 GB, free: 147 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (741): * Single equations (assignments): 735 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002008/2.545, allocations: 0.4955 MB / 1.064 GB, free: 146.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01692/2.562, allocations: 10.84 MB / 1.075 GB, free: 137.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 0.0001163/2.562, allocations: 12 kB / 1.075 GB, free: 137.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.009257/2.572, allocations: 5.512 MB / 1.08 GB, free: 132.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01295/2.585, allocations: 1.51 MB / 1.081 GB, free: 130.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04199/2.627, allocations: 25.12 MB / 1.106 GB, free: 104.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009899/2.637, allocations: 7.881 MB / 1.114 GB, free: 96.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0098/2.646, allocations: 3.649 MB / 1.117 GB, free: 92.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003184/2.65, allocations: 0.6087 MB / 1.118 GB, free: 92.32 MB / 0.6075 GB Notification: Performance of SimCode: time 1.973e-06/2.65, allocations: 0 / 1.118 GB, free: 92.32 MB / 0.6075 GB Notification: Performance of Templates: time 0.1507/2.8, allocations: 98.91 MB / 1.214 GB, free: 9.57 MB / 0.6232 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches