Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009118/0.0009119, allocations: 93.23 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1911/0.1911, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.68e-05/1.682e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3844/0.4948, allocations: 110.3 MB / 0.6024 GB, free: 2.137 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.4951, allocations: 83.95 kB / 0.6025 GB, free: 2.055 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.384/1.879, allocations: 383.5 MB / 0.977 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.364e-06/1.879, allocations: 0 / 0.977 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001064/1.881, allocations: 248.2 kB / 0.9772 GB, free: 75.75 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.04241/1.923, allocations: 10.42 MB / 0.9874 GB, free: 72.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/1.923, allocations: 18.02 kB / 0.9874 GB, free: 72.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04132/1.964, allocations: 7.723 MB / 0.995 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01948/1.984, allocations: 7.654 MB / 1.002 GB, free: 70.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008621/1.985, allocations: 372 kB / 1.003 GB, free: 70.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005314/1.99, allocations: 0.6518 MB / 1.003 GB, free: 70.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03673/2.027, allocations: 16.02 MB / 1.019 GB, free: 69.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05483/2.082, allocations: 17.42 MB / 1.036 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007745/2.083, allocations: 18.66 kB / 1.036 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004957/2.088, allocations: 7.375 kB / 1.036 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001282/2.089, allocations: 0.9183 MB / 1.037 GB, free: 62.13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1125/2.201, allocations: 58.25 MB / 1.094 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3601/2.562, allocations: 17.24 MB / 1.111 GB, free: 61.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008243/2.57, allocations: 4.444 MB / 1.115 GB, free: 61.28 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007352/2.571, allocations: 238.1 kB / 1.115 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/2.571, allocations: 103.5 kB / 1.115 GB, free: 61.13 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=653): time 1.03e-05/2.571, allocations: 0 / 1.115 GB, free: 61.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=653): time 0.0263/2.597, allocations: 9.966 MB / 1.125 GB, free: 60.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/2.597, allocations: 118.1 kB / 1.125 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007203/2.604, allocations: 3.147 MB / 1.128 GB, free: 60.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001426/2.606, allocations: 25.7 kB / 1.128 GB, free: 60.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003229/2.609, allocations: 4.542 MB / 1.133 GB, free: 58.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003142/2.612, allocations: 2.093 MB / 1.135 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006216/2.613, allocations: 0 / 1.135 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004779/2.613, allocations: 0.6249 MB / 1.135 GB, free: 57.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005297/2.619, allocations: 4.094 MB / 1.139 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007195/2.626, allocations: 6.825 MB / 1.146 GB, free: 53.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01417/2.64, allocations: 7.548 MB / 1.153 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002793/2.641, allocations: 25.97 kB / 1.153 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02862/2.669, allocations: 13.17 MB / 1.166 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/2.669, allocations: 48.7 kB / 1.166 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001869/2.669, allocations: 88.88 kB / 1.166 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009122/2.67, allocations: 421 kB / 1.167 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008143/2.679, allocations: 2.059 MB / 1.169 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005022/2.684, allocations: 8.564 MB / 1.177 GB, free: 46.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00699/2.691, allocations: 0.9202 MB / 1.178 GB, free: 45.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001809/2.692, allocations: 378 kB / 1.179 GB, free: 45.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001751/2.694, allocations: 367.8 kB / 1.179 GB, free: 45.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/2.695, allocations: 464.3 kB / 1.179 GB, free: 45.24 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02001/2.715, allocations: 11.46 MB / 1.19 GB, free: 44.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.05e-05/2.715, allocations: 67.59 kB / 1.191 GB, free: 44.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/2.715, allocations: 4 kB / 1.191 GB, free: 44.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.884e-05/2.716, allocations: 34.41 kB / 1.191 GB, free: 44.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5631/3.279, allocations: 160 MB / 1.347 GB, free: 92.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002197/3.279, allocations: 86.22 kB / 1.347 GB, free: 92.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006501/3.285, allocations: 1.602 MB / 1.349 GB, free: 92.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008674/3.286, allocations: 385.2 kB / 1.349 GB, free: 92.81 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001123/3.287, allocations: 151.2 kB / 1.349 GB, free: 92.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004892/3.292, allocations: 8.463 MB / 1.357 GB, free: 85.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.589e-05/3.293, allocations: 139.3 kB / 1.357 GB, free: 85.76 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02988/3.322, allocations: 28.55 MB / 1.385 GB, free: 68.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/3.324, allocations: 0.7598 MB / 1.386 GB, free: 68.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001647/3.326, allocations: 132.4 kB / 1.386 GB, free: 68.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005435/3.331, allocations: 0.5165 MB / 1.387 GB, free: 68.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001276/3.333, allocations: 0.723 MB / 1.387 GB, free: 68.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006023/3.333, allocations: 304.7 kB / 1.388 GB, free: 68.57 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003725/3.337, allocations: 2.343 MB / 1.39 GB, free: 68.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.1e-07/3.337, allocations: 0 / 1.39 GB, free: 68.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01136/3.348, allocations: 2.688 MB / 1.393 GB, free: 68.07 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001937/3.35, allocations: 373.8 kB / 1.393 GB, free: 67.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01663/3.367, allocations: 10.15 MB / 1.403 GB, free: 67.26 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.202e-05/3.367, allocations: 18.56 kB / 1.403 GB, free: 67.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008878/3.376, allocations: 5.369 MB / 1.408 GB, free: 66.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0108/3.387, allocations: 1.023 MB / 1.409 GB, free: 66.36 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05091/3.438, allocations: 20.26 MB / 1.429 GB, free: 60.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01765/3.456, allocations: 8.003 MB / 1.437 GB, free: 58.15 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01205/3.468, allocations: 3.198 MB / 1.44 GB, free: 57.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00385/3.472, allocations: 483.9 kB / 1.44 GB, free: 57.87 MB / 0.5573 GB Notification: Performance of SimCode: time 1.192e-06/3.472, allocations: 0 / 1.44 GB, free: 57.87 MB / 0.5573 GB Notification: Performance of Templates: time 0.1217/3.593, allocations: 76.1 MB / 1.515 GB, free: 2.672 MB / 0.5573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches