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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0008815/0.0008815, allocations: 176.5 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008749/0.000875, allocations: 93.39 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3691/0.3691, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003654, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1393, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4191/0.5585, allocations: 107.4 MB / 0.5849 GB, free: 10.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.5588, allocations: 89.8 kB / 0.5849 GB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.37/1.928, allocations: 387 MB / 0.9629 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.797e-06/1.929, allocations: 0 / 0.9629 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001362/1.93, allocations: 254.1 kB / 0.9631 GB, free: 65.57 MB / 0.5105 GB 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.04764/1.978, allocations: 10.89 MB / 0.9738 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.978, allocations: 10.62 kB / 0.9738 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04539/2.023, allocations: 8.434 MB / 0.982 GB, free: 61.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02412/2.047, allocations: 7.584 MB / 0.9894 GB, free: 57.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001528/2.049, allocations: 0.8719 MB / 0.9903 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00648/2.055, allocations: 1.115 MB / 0.9914 GB, free: 56.35 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06891/2.124, allocations: 21.26 MB / 1.012 GB, free: 45.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008244/2.125, allocations: 23.64 kB / 1.012 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006355/2.131, allocations: 499.9 kB / 1.013 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001123/2.133, allocations: 0.8458 MB / 1.013 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04421/2.177, allocations: 19.87 MB / 1.033 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5184/2.695, allocations: 60.14 MB / 1.092 GB, free: 46.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03313/2.729, allocations: 24.02 MB / 1.115 GB, free: 52.74 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01963/2.748, allocations: 10.24 MB / 1.125 GB, free: 52.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001449/2.75, allocations: 362.7 kB / 1.125 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/2.75, allocations: 138 kB / 1.126 GB, free: 52.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1196): time 1.482e-05/2.75, allocations: 0 / 1.126 GB, free: 52.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1196): time 0.06704/2.817, allocations: 28.29 MB / 1.153 GB, free: 45.22 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/2.817, allocations: 160.2 kB / 1.153 GB, free: 45.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005671/2.823, allocations: 3.115 MB / 1.156 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003043/2.826, allocations: 192.6 kB / 1.157 GB, free: 43.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003834/2.83, allocations: 3.469 MB / 1.16 GB, free: 41.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00843/2.838, allocations: 3.894 MB / 1.164 GB, free: 39.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002318/2.841, allocations: 172.5 kB / 1.164 GB, free: 38.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001297/2.842, allocations: 0.714 MB / 1.165 GB, free: 38.42 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01351/2.855, allocations: 7.1 MB / 1.172 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0138/2.869, allocations: 8.046 MB / 1.179 GB, free: 32.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03072/2.9, allocations: 16.08 MB / 1.195 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-05/2.9, allocations: 3.344 kB / 1.195 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.04392/2.944, allocations: 18.88 MB / 1.214 GB, free: 17.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/2.944, allocations: 11.22 kB / 1.214 GB, free: 17.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.304e-05/2.944, allocations: 14.94 kB / 1.214 GB, free: 17.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006408/2.951, allocations: 3.771 MB / 1.217 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008878/2.96, allocations: 1.916 MB / 1.219 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02325/2.983, allocations: 21.59 MB / 1.24 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008835/2.992, allocations: 1.125 MB / 1.241 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003464/2.995, allocations: 338 kB / 1.242 GB, free: 8.504 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (933): * Single equations (assignments): 818 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.01542/3.011, allocations: 4.535 MB / 1.246 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004871/3.016, allocations: 0.5706 MB / 1.247 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07315/3.089, allocations: 21.74 MB / 1.268 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006154/3.09, allocations: 289.9 kB / 1.268 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.361e-05/3.09, allocations: 4 kB / 1.268 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000338/3.09, allocations: 49.69 kB / 1.268 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4759/3.566, allocations: 38.83 MB / 1.306 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001317/3.566, allocations: 0 / 1.306 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009251/3.575, allocations: 1.771 MB / 1.308 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007563/3.583, allocations: 3.749 MB / 1.311 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003813/3.587, allocations: 248.8 kB / 1.312 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02364/3.61, allocations: 21.45 MB / 1.333 GB, free: 91.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/3.61, allocations: 1.062 kB / 1.333 GB, free: 91.88 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07127/3.682, allocations: 30.44 MB / 1.362 GB, free: 86.41 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002695/3.685, allocations: 0.8559 MB / 1.363 GB, free: 85.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004256/3.689, allocations: 176.9 kB / 1.363 GB, free: 85.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00829/3.697, allocations: 0.5856 MB / 1.364 GB, free: 85.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005082/3.702, allocations: 0.8436 MB / 1.365 GB, free: 85.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00325/3.706, allocations: 323.1 kB / 1.365 GB, free: 85.46 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006157/3.712, allocations: 2.179 MB / 1.367 GB, free: 84.69 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.11e-07/3.712, allocations: 2.062 kB / 1.367 GB, free: 84.69 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01687/3.729, allocations: 3.088 MB / 1.37 GB, free: 84.11 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (921): * Single equations (assignments): 806 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003847/3.733, allocations: 406.6 kB / 1.371 GB, free: 83.89 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03818/3.771, allocations: 17.81 MB / 1.388 GB, free: 77.12 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/3.771, allocations: 3.688 kB / 1.388 GB, free: 77.12 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01904/3.79, allocations: 9.819 MB / 1.398 GB, free: 73.22 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01373/3.804, allocations: 1.145 MB / 1.399 GB, free: 72.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06888/3.873, allocations: 31.6 MB / 1.43 GB, free: 49.41 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01977/3.892, allocations: 8.083 MB / 1.437 GB, free: 43.11 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0129/3.905, allocations: 2.603 MB / 1.44 GB, free: 41.28 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005033/3.91, allocations: 0.5092 MB / 1.441 GB, free: 40.8 MB / 0.5573 GB Notification: Performance of SimCode: time 9.82e-07/3.91, allocations: 0 / 1.441 GB, free: 40.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.6306/4.541, allocations: 152.7 MB / 1.59 GB, free: 78.68 MB / 0.5573 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches