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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 102.3 kB / 17.32 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 193.3 kB / 18.25 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 241.9 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2141/0.2141, allocations: 44.17 MB / 336.2 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 60.88 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1233, allocations: 60.83 MB / 468.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01953/0.1428, allocations: 19.4 MB / 488.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.1552, allocations: 4.842 MB / 493 MB, free: 6.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004025/0.1592, allocations: 151.5 kB / 493.1 MB, free: 6.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.017/0.1763, allocations: 7.381 MB / 0.4888 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009819/0.1861, allocations: 2.006 MB / 0.4907 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004214/0.1904, allocations: 1.158 MB / 0.4918 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2145/0.4049, allocations: 12.08 MB / 0.5036 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03757/0.4425, allocations: 30.12 MB / 0.5331 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009192/0.4517, allocations: 6.579 MB / 0.5395 GB, free: 452 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01383/0.4656, allocations: 7.362 MB / 0.5467 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004977/0.4706, allocations: 1.723 MB / 0.5484 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005999/0.4767, allocations: 1.912 MB / 0.5502 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00479/0.4815, allocations: 3.656 MB / 0.5538 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01314/0.4946, allocations: 7.225 MB / 0.5608 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02339/0.5181, allocations: 23.46 MB / 0.5838 GB, free: 6.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.5181, allocations: 3 kB / 0.5838 GB, free: 6.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.5181, allocations: 3.938 kB / 0.5838 GB, free: 6.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005692/0.5187, allocations: 4 kB / 0.5838 GB, free: 6.855 MB / 430.1 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.03909/0.5578, allocations: 14.55 MB / 0.598 GB, free: 8.324 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.5579, allocations: 12.03 kB / 0.598 GB, free: 8.312 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05915/0.617, allocations: 11.43 MB / 0.6092 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01471/0.6318, allocations: 7.084 MB / 0.6161 GB, free: 6.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000978/0.6328, allocations: 0.8888 MB / 0.6169 GB, free: 5.281 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005549/0.6384, allocations: 1.173 MB / 0.6181 GB, free: 4.121 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04351/0.6819, allocations: 18.57 MB / 0.6362 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004764/0.6824, allocations: 15.91 kB / 0.6362 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003413/0.6858, allocations: 493.8 kB / 0.6367 GB, free: 1.055 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006862/0.6865, allocations: 0.6577 MB / 0.6374 GB, free: 404 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03692/0.7235, allocations: 19.07 MB / 0.656 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3712/1.095, allocations: 60.65 MB / 0.7152 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01858/1.113, allocations: 16.61 MB / 0.7314 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006408/1.12, allocations: 4.514 MB / 0.7358 GB, free: 139 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005892/1.12, allocations: 240.5 kB / 0.7361 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.93e-05/1.12, allocations: 105.6 kB / 0.7362 GB, free: 138.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 8.717e-06/1.121, allocations: 3.938 kB / 0.7362 GB, free: 138.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01697/1.137, allocations: 12.35 MB / 0.7482 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/1.138, allocations: 120.4 kB / 0.7483 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01217/1.15, allocations: 8.601 MB / 0.7567 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001084/1.151, allocations: 133.5 kB / 0.7569 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002797/1.154, allocations: 4.491 MB / 0.7613 GB, free: 127.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002019/1.156, allocations: 2.19 MB / 0.7634 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/1.158, allocations: 1.436 MB / 0.7648 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.332e-05/1.158, allocations: 308.9 kB / 0.7651 GB, free: 124.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005551/1.163, allocations: 4.101 MB / 0.7691 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006658/1.17, allocations: 6.904 MB / 0.7758 GB, free: 117 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/1.183, allocations: 11.94 MB / 0.7875 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/1.183, allocations: 35.5 kB / 0.7875 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01862/1.201, allocations: 12 MB / 0.7992 GB, free: 95.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/1.202, allocations: 50.34 kB / 0.7993 GB, free: 95.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/1.202, allocations: 95.98 kB / 0.7994 GB, free: 94.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008697/1.203, allocations: 404.9 kB / 0.7998 GB, free: 94.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006938/1.21, allocations: 2.008 MB / 0.8017 GB, free: 92.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005442/1.215, allocations: 9.58 MB / 0.8111 GB, free: 82.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007689/1.223, allocations: 1.361 MB / 0.8124 GB, free: 80.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00144/1.224, allocations: 377 kB / 0.8128 GB, free: 80.38 MB / 0.5294 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.007572/1.232, allocations: 4.578 MB / 0.8172 GB, free: 75.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001301/1.233, allocations: 0.6982 MB / 0.8179 GB, free: 75.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/1.247, allocations: 10.61 MB / 0.8283 GB, free: 64.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.701e-05/1.247, allocations: 68 kB / 0.8283 GB, free: 64.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/1.247, allocations: 3.984 kB / 0.8284 GB, free: 64.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.777e-05/1.247, allocations: 39.86 kB / 0.8284 GB, free: 64.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3685/1.616, allocations: 156.6 MB / 0.9813 GB, free: 129.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003459/1.616, allocations: 87.84 kB / 0.9814 GB, free: 129.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005613/1.622, allocations: 1.544 MB / 0.9829 GB, free: 127.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009237/1.623, allocations: 376.8 kB / 0.9833 GB, free: 127.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/1.624, allocations: 255.3 kB / 0.9835 GB, free: 126.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005221/1.629, allocations: 9.457 MB / 0.9927 GB, free: 116.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.885e-05/1.629, allocations: 135.4 kB / 0.9929 GB, free: 116.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01908/1.648, allocations: 18.53 MB / 1.011 GB, free: 96.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005009/1.653, allocations: 2.013 MB / 1.013 GB, free: 94.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001848/1.655, allocations: 235.9 kB / 1.013 GB, free: 94.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005798/1.661, allocations: 0.558 MB / 1.014 GB, free: 93.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001037/1.662, allocations: 0.734 MB / 1.014 GB, free: 92.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005045/1.663, allocations: 308 kB / 1.015 GB, free: 92.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008765/1.672, allocations: 6.047 MB / 1.021 GB, free: 86.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.62e-07/1.672, allocations: 0 / 1.021 GB, free: 86.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01143/1.683, allocations: 2.615 MB / 1.023 GB, free: 83.97 MB / 0.545 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.002389/1.685, allocations: 0.4898 MB / 1.024 GB, free: 83.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.027/1.712, allocations: 16.72 MB / 1.04 GB, free: 66.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.642e-05/1.713, allocations: 12 kB / 1.04 GB, free: 66.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007125/1.72, allocations: 5.442 MB / 1.045 GB, free: 61.17 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01104/1.731, allocations: 1.5 MB / 1.047 GB, free: 59.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03346/1.764, allocations: 29.02 MB / 1.075 GB, free: 29.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00705/1.771, allocations: 7.765 MB / 1.083 GB, free: 21.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008963/1.78, allocations: 3.558 MB / 1.086 GB, free: 18.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0027/1.783, allocations: 0.5853 MB / 1.087 GB, free: 17.51 MB / 0.545 GB Notification: Performance of SimCode: time 7.62e-07/1.783, allocations: 0 / 1.087 GB, free: 17.51 MB / 0.545 GB Notification: Performance of Templates: time 0.3673/2.15, allocations: 103.8 MB / 1.188 GB, free: 129.7 MB / 0.5606 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches