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.001002/0.001003, allocations: 186.7 kB / 15.76 MB, free: 5.938 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.632/1.632, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009428/0.0009426, allocations: 86.91 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2019/0.2019, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 19.98 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.144, allocations: 58.85 MB / 490.2 MB, free: 8.691 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4734/0.6174, allocations: 107.3 MB / 0.5835 GB, free: 8.684 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.6178, allocations: 84.33 kB / 0.5836 GB, free: 8.637 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.379/1.996, allocations: 388.2 MB / 0.9627 GB, free: 52.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.574e-06/1.996, allocations: 4 kB / 0.9627 GB, free: 52.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001469/1.998, allocations: 254 kB / 0.963 GB, free: 52.77 MB / 0.4948 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.04523/2.043, allocations: 11 MB / 0.9737 GB, free: 49.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/2.043, allocations: 7.906 kB / 0.9737 GB, free: 49.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04463/2.088, allocations: 8.437 MB / 0.982 GB, free: 48.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02587/2.114, allocations: 7.501 MB / 0.9893 GB, free: 47.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001431/2.115, allocations: 0.8649 MB / 0.9901 GB, free: 47.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006895/2.122, allocations: 1.125 MB / 0.9912 GB, free: 47.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06321/2.185, allocations: 21.16 MB / 1.012 GB, free: 43.22 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008112/2.186, allocations: 17.73 kB / 1.012 GB, free: 43.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006519/2.193, allocations: 496.8 kB / 1.012 GB, free: 42.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001153/2.194, allocations: 0.8435 MB / 1.013 GB, free: 42.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04292/2.237, allocations: 19.88 MB / 1.033 GB, free: 32.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1374/2.374, allocations: 60.13 MB / 1.091 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4199/2.794, allocations: 24.03 MB / 1.115 GB, free: 66.24 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00207/2.796, allocations: 365.4 kB / 1.115 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/2.797, allocations: 141.5 kB / 1.115 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1196): time 1.582e-05/2.797, allocations: 0 / 1.115 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1196): time 0.08068/2.877, allocations: 37.5 MB / 1.152 GB, free: 53.47 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/2.878, allocations: 153 kB / 1.152 GB, free: 53.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006612/2.884, allocations: 2.809 MB / 1.155 GB, free: 53.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.004182/2.888, allocations: 187.4 kB / 1.155 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002907/2.891, allocations: 3.473 MB / 1.158 GB, free: 52.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.007456/2.899, allocations: 3.896 MB / 1.162 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001724/2.901, allocations: 170.2 kB / 1.162 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001157/2.902, allocations: 0.7137 MB / 1.163 GB, free: 49.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01298/2.915, allocations: 7.094 MB / 1.17 GB, free: 49.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01805/2.933, allocations: 8.022 MB / 1.178 GB, free: 48.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01921/2.952, allocations: 8.352 MB / 1.186 GB, free: 48.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000111/2.952, allocations: 7.734 kB / 1.186 GB, free: 48.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.05296/3.005, allocations: 18.88 MB / 1.204 GB, free: 41.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/3.005, allocations: 11.06 kB / 1.204 GB, free: 41.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/3.006, allocations: 11.53 kB / 1.204 GB, free: 41.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008649/3.014, allocations: 3.769 MB / 1.208 GB, free: 39.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/3.025, allocations: 1.913 MB / 1.21 GB, free: 39.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01961/3.045, allocations: 21.65 MB / 1.231 GB, free: 23.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009457/3.054, allocations: 1.123 MB / 1.232 GB, free: 22.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004422/3.059, allocations: 338.5 kB / 1.233 GB, free: 22.77 MB / 0.5261 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.01823/3.077, allocations: 4.534 MB / 1.237 GB, free: 20.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004983/3.082, allocations: 0.5656 MB / 1.238 GB, free: 20.53 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05424/3.136, allocations: 20.45 MB / 1.257 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005343/3.137, allocations: 293.1 kB / 1.258 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001068/3.137, allocations: 6.844 kB / 1.258 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003394/3.137, allocations: 49.17 kB / 1.258 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1068/3.244, allocations: 38.75 MB / 1.296 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002143/3.244, allocations: 2.531 kB / 1.296 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01068/3.255, allocations: 1.775 MB / 1.297 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008825/3.264, allocations: 3.737 MB / 1.301 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004675/3.269, allocations: 249.2 kB / 1.301 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5211/3.79, allocations: 21.59 MB / 1.322 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/3.79, allocations: 2.406 kB / 1.322 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08241/3.872, allocations: 30.43 MB / 1.352 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002941/3.875, allocations: 0.87 MB / 1.353 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005585/3.881, allocations: 165.7 kB / 1.353 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01028/3.891, allocations: 0.5935 MB / 1.354 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005532/3.897, allocations: 0.8392 MB / 1.355 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003665/3.9, allocations: 324.1 kB / 1.355 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005649/3.906, allocations: 2.178 MB / 1.357 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.71e-07/3.906, allocations: 0 / 1.357 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01877/3.925, allocations: 3.087 MB / 1.36 GB, free: 99.78 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.005244/3.93, allocations: 408.9 kB / 1.36 GB, free: 99.69 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.04365/3.974, allocations: 17.8 MB / 1.378 GB, free: 98.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/3.974, allocations: 3.25 kB / 1.378 GB, free: 98.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02408/3.998, allocations: 9.824 MB / 1.387 GB, free: 96.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01239/4.011, allocations: 0.9904 MB / 1.388 GB, free: 95.96 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09632/4.107, allocations: 32.11 MB / 1.42 GB, free: 80.45 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01833/4.125, allocations: 8.277 MB / 1.428 GB, free: 77.67 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01252/4.138, allocations: 2.602 MB / 1.43 GB, free: 77.45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00298/4.141, allocations: 0.4963 MB / 1.431 GB, free: 77.41 MB / 0.5573 GB Notification: Performance of SimCode: time 1.754e-06/4.141, allocations: 0 / 1.431 GB, free: 77.41 MB / 0.5573 GB Notification: Performance of Templates: time 0.7419/4.883, allocations: 152.1 MB / 1.579 GB, free: 89.41 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/jenkins/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