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.001114/0.001114, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.407/1.407, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 105 kB / 291.9 MB, free: 10.94 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.3986/0.3987, allocations: 44.13 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001039, allocations: 55.91 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4243, allocations: 60.8 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01675/0.4411, allocations: 19.41 MB / 0.5253 GB, free: 24.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.4534, allocations: 4.866 MB / 0.5301 GB, free: 20.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006308/0.4598, allocations: 152.3 kB / 0.5302 GB, free: 20.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01519/0.4751, allocations: 7.371 MB / 0.5374 GB, free: 16.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009739/0.4848, allocations: 2.028 MB / 0.5394 GB, free: 14.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00479/0.4897, allocations: 1.189 MB / 0.5406 GB, free: 14.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01813/0.5078, allocations: 12.6 MB / 0.5529 GB, free: 8.414 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04516/0.553, allocations: 21.84 MB / 0.5742 GB, free: 9.027 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01369/0.5668, allocations: 5.726 MB / 0.5798 GB, free: 3.789 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01672/0.5835, allocations: 6.964 MB / 0.5866 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006395/0.59, allocations: 1.23 MB / 0.5878 GB, free: 12.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01053/0.6005, allocations: 1.418 MB / 0.5892 GB, free: 11.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008966/0.6095, allocations: 3.116 MB / 0.5922 GB, free: 7.934 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02034/0.6299, allocations: 6.46 MB / 0.5985 GB, free: 1.445 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03215/0.6621, allocations: 23.1 MB / 0.6211 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.6622, allocations: 0 / 0.6211 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6622, allocations: 0 / 0.6211 GB, free: 10.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009525/0.6632, allocations: 4 kB / 0.6211 GB, free: 10.27 MB / 442.7 MB 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.04927/0.7125, allocations: 14.55 MB / 0.6353 GB, free: 11.62 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.7125, allocations: 8.031 kB / 0.6353 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05912/0.7717, allocations: 11.44 MB / 0.6465 GB, free: 148 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02411/0.7958, allocations: 7.088 MB / 0.6534 GB, free: 8.969 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001412/0.7973, allocations: 0.891 MB / 0.6543 GB, free: 8.074 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007301/0.8046, allocations: 1.172 MB / 0.6554 GB, free: 6.902 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05639/0.8611, allocations: 18.56 MB / 0.6735 GB, free: 4.289 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007756/0.8619, allocations: 19.91 kB / 0.6736 GB, free: 4.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005876/0.8678, allocations: 500 kB / 0.674 GB, free: 3.781 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001012/0.8689, allocations: 0.6538 MB / 0.6747 GB, free: 3.125 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5936/1.462, allocations: 19.08 MB / 0.6933 GB, free: 107.4 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.13/1.593, allocations: 60.64 MB / 0.7525 GB, free: 73.06 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01985/1.612, allocations: 16.61 MB / 0.7688 GB, free: 55.63 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00702/1.619, allocations: 4.52 MB / 0.7732 GB, free: 51.09 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007715/1.62, allocations: 241.2 kB / 0.7734 GB, free: 50.86 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/1.62, allocations: 107.7 kB / 0.7735 GB, free: 50.74 MB / 490.8 MB Notification: Performance of pre-optimization done (n=653): time 1.512e-05/1.62, allocations: 3.938 kB / 0.7735 GB, free: 50.73 MB / 490.8 MB Notification: Performance of matching and sorting (n=653): time 0.02153/1.642, allocations: 12.34 MB / 0.7856 GB, free: 38.18 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/1.642, allocations: 120.5 kB / 0.7857 GB, free: 38.05 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01648/1.659, allocations: 8.611 MB / 0.7941 GB, free: 29.45 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001388/1.66, allocations: 133.7 kB / 0.7942 GB, free: 29.32 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003701/1.664, allocations: 4.484 MB / 0.7986 GB, free: 24.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002807/1.667, allocations: 2.197 MB / 0.8007 GB, free: 22.61 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005194/1.672, allocations: 1.439 MB / 0.8021 GB, free: 21.17 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.35e-05/1.672, allocations: 301.1 kB / 0.8024 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006622/1.679, allocations: 4.098 MB / 0.8064 GB, free: 16.77 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00819/1.687, allocations: 6.914 MB / 0.8132 GB, free: 8.59 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01633/1.703, allocations: 11.93 MB / 0.8248 GB, free: 11.3 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001449/1.703, allocations: 28 kB / 0.8249 GB, free: 11.27 MB / 0.4949 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02743/1.731, allocations: 12 MB / 0.8366 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001728/1.731, allocations: 44 kB / 0.8366 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002561/1.731, allocations: 96 kB / 0.8367 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/1.733, allocations: 412.8 kB / 0.8371 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008053/1.741, allocations: 1.997 MB / 0.8391 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007301/1.748, allocations: 8.914 MB / 0.8478 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00811/1.756, allocations: 1.366 MB / 0.8491 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001868/1.758, allocations: 372 kB / 0.8495 GB, free: 1.137 MB / 0.5105 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 () * Number of clocked 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 (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.01193/1.77, allocations: 4.582 MB / 0.8539 GB, free: 12.54 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002474/1.772, allocations: 0.6982 MB / 0.8546 GB, free: 11.83 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02183/1.794, allocations: 10.6 MB / 0.865 GB, free: 1.121 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.318e-05/1.794, allocations: 72 kB / 0.865 GB, free: 1.051 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.817e-05/1.794, allocations: 0 / 0.865 GB, free: 1.051 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001042/1.795, allocations: 35.88 kB / 0.8651 GB, free: 1.016 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5366/2.331, allocations: 156.6 MB / 1.018 GB, free: 63.07 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0006019/2.332, allocations: 84 kB / 1.018 GB, free: 62.98 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00736/2.339, allocations: 1.54 MB / 1.02 GB, free: 61.44 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/2.34, allocations: 384.5 kB / 1.02 GB, free: 61.05 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001538/2.342, allocations: 240 kB / 1.02 GB, free: 60.82 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006769/2.349, allocations: 8.803 MB / 1.029 GB, free: 51.33 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001055/2.349, allocations: 139.4 kB / 1.029 GB, free: 51.19 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05209/2.401, allocations: 30.99 MB / 1.059 GB, free: 18.46 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007478/2.408, allocations: 2.019 MB / 1.061 GB, free: 16.46 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002911/2.411, allocations: 245.7 kB / 1.061 GB, free: 16.22 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007596/2.419, allocations: 0.5542 MB / 1.062 GB, free: 15.67 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002108/2.421, allocations: 0.734 MB / 1.063 GB, free: 14.93 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008003/2.422, allocations: 304 kB / 1.063 GB, free: 14.63 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01255/2.434, allocations: 6.051 MB / 1.069 GB, free: 8.598 MB / 0.5418 GB Notification: Performance of sort global known variables: time 3.41e-07/2.435, allocations: 0 / 1.069 GB, free: 8.598 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01373/2.448, allocations: 3.116 MB / 1.072 GB, free: 5.477 MB / 0.5418 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 () * Number of clocked 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 (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.002717/2.451, allocations: 0.4893 MB / 1.072 GB, free: 4.98 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01842/2.469, allocations: 10.36 MB / 1.082 GB, free: 10.52 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-05/2.47, allocations: 12 kB / 1.082 GB, free: 10.51 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.2876/2.757, allocations: 5.445 MB / 1.088 GB, free: 164.8 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01144/2.769, allocations: 1.46 MB / 1.089 GB, free: 164.7 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0522/2.821, allocations: 32.81 MB / 1.121 GB, free: 149 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01923/2.84, allocations: 7.951 MB / 1.129 GB, free: 146.3 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.015/2.855, allocations: 3.562 MB / 1.133 GB, free: 146 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004953/2.86, allocations: 0.5829 MB / 1.133 GB, free: 146 MB / 0.5574 GB Notification: Performance of SimCode: time 1.764e-06/2.86, allocations: 0 / 1.133 GB, free: 146 MB / 0.5574 GB Notification: Performance of Templates: time 0.1711/3.031, allocations: 103.1 MB / 1.234 GB, free: 64.89 MB / 0.5574 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@2/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