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.00111/0.00111, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 221.3 MB / 236 MB, free: 2.98 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.0008556/0.0008557, allocations: 101.8 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2129/0.2129, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.022e-05, allocations: 224 / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1481, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4431/0.5913, allocations: 111 MB / 0.6101 GB, free: 10.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.5916, allocations: 79.95 kB / 0.6102 GB, free: 10.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.266/1.858, allocations: 387.6 MB / 0.9887 GB, free: 74.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.464e-06/1.858, allocations: 0 / 0.9887 GB, free: 74.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005844/1.859, allocations: 248.7 kB / 0.989 GB, free: 74 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.0375/1.896, allocations: 10.44 MB / 0.9991 GB, free: 70.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.896, allocations: 11.16 kB / 0.9992 GB, free: 70.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03915/1.935, allocations: 7.733 MB / 1.007 GB, free: 70.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01883/1.954, allocations: 7.658 MB / 1.014 GB, free: 68.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000866/1.955, allocations: 0.8375 MB / 1.015 GB, free: 68.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004613/1.96, allocations: 1.097 MB / 1.016 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04411/2.004, allocations: 19.46 MB / 1.035 GB, free: 60.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004433/2.004, allocations: 22.44 kB / 1.035 GB, free: 60.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004307/2.009, allocations: 482.2 kB / 1.036 GB, free: 59.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001021/2.01, allocations: 0.9201 MB / 1.036 GB, free: 59.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04332/2.053, allocations: 17.38 MB / 1.053 GB, free: 44.39 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1077/2.161, allocations: 60.34 MB / 1.112 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3388/2.5, allocations: 16.48 MB / 1.128 GB, free: 74.11 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008448/2.508, allocations: 4.398 MB / 1.133 GB, free: 74.05 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007819/2.509, allocations: 234.5 kB / 1.133 GB, free: 73.95 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.764e-05/2.509, allocations: 105.1 kB / 1.133 GB, free: 73.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=653): time 8.285e-06/2.509, allocations: 0 / 1.133 GB, free: 73.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=653): time 0.01418/2.523, allocations: 8.144 MB / 1.141 GB, free: 73.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/2.524, allocations: 124.2 kB / 1.141 GB, free: 73.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01188/2.535, allocations: 7.743 MB / 1.149 GB, free: 73.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001113/2.537, allocations: 131.7 kB / 1.149 GB, free: 73.17 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00287/2.539, allocations: 4.481 MB / 1.153 GB, free: 71.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002044/2.542, allocations: 2.191 MB / 1.155 GB, free: 70.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004477/2.542, allocations: 154.2 kB / 1.155 GB, free: 70.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003242/2.542, allocations: 0.6212 MB / 1.156 GB, free: 70.38 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005091/2.547, allocations: 3.988 MB / 1.16 GB, free: 70.37 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006847/2.554, allocations: 6.768 MB / 1.167 GB, free: 67.04 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007887/2.562, allocations: 5.514 MB / 1.172 GB, free: 66.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.73e-05/2.562, allocations: 29.34 kB / 1.172 GB, free: 66.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02114/2.583, allocations: 11.77 MB / 1.184 GB, free: 66.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/2.584, allocations: 42.78 kB / 1.184 GB, free: 66.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/2.584, allocations: 90.5 kB / 1.184 GB, free: 66.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009001/2.585, allocations: 427 kB / 1.184 GB, free: 66.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007169/2.592, allocations: 2.006 MB / 1.186 GB, free: 66.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005101/2.597, allocations: 8.912 MB / 1.195 GB, free: 58.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007655/2.605, allocations: 1.354 MB / 1.196 GB, free: 58.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/2.606, allocations: 372.5 kB / 1.196 GB, free: 58.05 MB / 0.5417 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.001548/2.608, allocations: 0.6048 MB / 1.197 GB, free: 57.89 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/2.609, allocations: 0.7028 MB / 1.198 GB, free: 57.51 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/2.624, allocations: 10.45 MB / 1.208 GB, free: 55.79 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.722e-05/2.624, allocations: 66.72 kB / 1.208 GB, free: 55.79 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/2.624, allocations: 0 / 1.208 GB, free: 55.79 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.057e-05/2.625, allocations: 36.33 kB / 1.208 GB, free: 55.79 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4905/3.115, allocations: 153.8 MB / 1.358 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000262/3.115, allocations: 85.34 kB / 1.358 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0059/3.121, allocations: 1.538 MB / 1.36 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008391/3.122, allocations: 393 kB / 1.36 GB, free: 104.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007111/3.123, allocations: 246.5 kB / 1.36 GB, free: 104.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/3.128, allocations: 8.777 MB / 1.369 GB, free: 96.69 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.816e-05/3.128, allocations: 143.1 kB / 1.369 GB, free: 96.69 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02385/3.152, allocations: 33.51 MB / 1.402 GB, free: 73.71 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002826/3.154, allocations: 1.246 MB / 1.403 GB, free: 73.28 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001332/3.156, allocations: 242.5 kB / 1.403 GB, free: 73.28 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004584/3.16, allocations: 0.5614 MB / 1.404 GB, free: 73.27 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009937/3.161, allocations: 0.7253 MB / 1.404 GB, free: 73.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005069/3.162, allocations: 311.6 kB / 1.405 GB, free: 73.16 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.009018/3.171, allocations: 5.922 MB / 1.411 GB, free: 72.91 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.81e-07/3.171, allocations: 0 / 1.411 GB, free: 72.91 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01103/3.182, allocations: 2.629 MB / 1.413 GB, free: 72.7 MB / 0.573 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.002588/3.185, allocations: 0.4933 MB / 1.414 GB, free: 72.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01663/3.201, allocations: 10.17 MB / 1.424 GB, free: 71.67 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 0.0001015/3.201, allocations: 14.06 kB / 1.424 GB, free: 71.67 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009293/3.211, allocations: 5.358 MB / 1.429 GB, free: 70.66 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01033/3.221, allocations: 1.359 MB / 1.43 GB, free: 70.61 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04497/3.266, allocations: 21.28 MB / 1.451 GB, free: 64.25 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0123/3.278, allocations: 7.95 MB / 1.459 GB, free: 61.54 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01091/3.289, allocations: 3.588 MB / 1.462 GB, free: 61.28 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002638/3.292, allocations: 0.5798 MB / 1.463 GB, free: 61.24 MB / 0.573 GB Notification: Performance of SimCode: time 1.613e-06/3.292, allocations: 0 / 1.463 GB, free: 61.24 MB / 0.573 GB Notification: Performance of Templates: time 0.5021/3.794, allocations: 95.88 MB / 1.556 GB, free: 102.3 MB / 0.573 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