Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007975/0.0007975, allocations: 93.61 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009287/0.0009287, allocations: 201.4 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.8 MB / 246.9 MB, free: 11.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.2 MB / 345.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002682, allocations: 4 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 63.57 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02161/0.1587, allocations: 18.45 MB / 0.4899 GB, free: 1.535 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.1705, allocations: 4.908 MB / 0.4947 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003735/0.1743, allocations: 147.5 kB / 0.4948 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003985/0.1783, allocations: 1.217 MB / 0.496 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008128/0.1865, allocations: 1.874 MB / 0.4978 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004193/0.1907, allocations: 1.298 MB / 0.4991 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.251/0.4417, allocations: 12.44 MB / 0.5112 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04632/0.4881, allocations: 25.39 MB / 0.536 GB, free: 3.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008701/0.4968, allocations: 4.555 MB / 0.5405 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01398/0.5108, allocations: 5.727 MB / 0.5461 GB, free: 0 / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005904/0.5168, allocations: 0.8532 MB / 0.5469 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006286/0.5231, allocations: 0.8776 MB / 0.5478 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004937/0.5281, allocations: 2.326 MB / 0.55 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01446/0.5426, allocations: 5.567 MB / 0.5555 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03072/0.5734, allocations: 22.16 MB / 0.5771 GB, free: 1.344 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.5734, allocations: 4 kB / 0.5771 GB, free: 1.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.5734, allocations: 3.562 kB / 0.5771 GB, free: 1.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008727/0.5743, allocations: 4 kB / 0.5771 GB, free: 1.336 MB / 414.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.03906/0.6134, allocations: 11.85 MB / 0.5887 GB, free: 5.473 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.6135, allocations: 8.875 kB / 0.5887 GB, free: 5.465 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06313/0.6766, allocations: 11.17 MB / 0.5996 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01771/0.6944, allocations: 7.109 MB / 0.6066 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001395/0.6958, allocations: 0.8892 MB / 0.6074 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005577/0.7014, allocations: 1.166 MB / 0.6086 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06181/0.7632, allocations: 18.62 MB / 0.6268 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006023/0.7639, allocations: 15.91 kB / 0.6268 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006269/0.7702, allocations: 494.3 kB / 0.6272 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001021/0.7712, allocations: 0.6577 MB / 0.6279 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05174/0.823, allocations: 19.15 MB / 0.6466 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7542/1.577, allocations: 61.05 MB / 0.7062 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02932/1.607, allocations: 16.64 MB / 0.7225 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01009/1.617, allocations: 4.536 MB / 0.7269 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/1.618, allocations: 393.5 kB / 0.7273 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/1.618, allocations: 103.5 kB / 0.7274 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 1.499e-05/1.618, allocations: 0 / 0.7274 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.02744/1.646, allocations: 12.45 MB / 0.7395 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.646, allocations: 116.2 kB / 0.7396 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01663/1.662, allocations: 8.607 MB / 0.748 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00161/1.664, allocations: 137.1 kB / 0.7482 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003873/1.668, allocations: 4.49 MB / 0.7525 GB, free: 123.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003105/1.671, allocations: 2.182 MB / 0.7547 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/1.672, allocations: 0.6004 MB / 0.7553 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.046e-05/1.672, allocations: 307.4 kB / 0.7556 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00628/1.679, allocations: 4.113 MB / 0.7596 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008726/1.687, allocations: 6.93 MB / 0.7663 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01626/1.704, allocations: 11.99 MB / 0.7781 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/1.704, allocations: 23.81 kB / 0.7781 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02461/1.728, allocations: 12.08 MB / 0.7899 GB, free: 98.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002733/1.729, allocations: 50.44 kB / 0.7899 GB, free: 98.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003246/1.729, allocations: 92 kB / 0.79 GB, free: 98.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/1.731, allocations: 408.8 kB / 0.7904 GB, free: 97.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008675/1.739, allocations: 2.028 MB / 0.7924 GB, free: 95.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006066/1.745, allocations: 8.926 MB / 0.8011 GB, free: 86.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/1.756, allocations: 1.354 MB / 0.8024 GB, free: 84.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002432/1.759, allocations: 379.9 kB / 0.8028 GB, free: 84.39 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.01188/1.771, allocations: 4.582 MB / 0.8073 GB, free: 79.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00306/1.774, allocations: 0.702 MB / 0.8079 GB, free: 79.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02582/1.799, allocations: 10.62 MB / 0.8183 GB, free: 68.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-05/1.8, allocations: 67.94 kB / 0.8184 GB, free: 68.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-05/1.8, allocations: 4 kB / 0.8184 GB, free: 68.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001609/1.8, allocations: 31.88 kB / 0.8184 GB, free: 68.26 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5484/2.348, allocations: 161.5 MB / 0.9762 GB, free: 148.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001555/2.348, allocations: 84 kB / 0.9763 GB, free: 148.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005524/2.354, allocations: 1.56 MB / 0.9778 GB, free: 146.5 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008058/2.355, allocations: 382.5 kB / 0.9781 GB, free: 146.1 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007798/2.356, allocations: 259.9 kB / 0.9784 GB, free: 145.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005123/2.361, allocations: 8.805 MB / 0.987 GB, free: 136.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.927e-05/2.361, allocations: 140 kB / 0.9871 GB, free: 136.3 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02417/2.385, allocations: 18.61 MB / 1.005 GB, free: 115.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00656/2.392, allocations: 2.042 MB / 1.007 GB, free: 114.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00288/2.394, allocations: 243.9 kB / 1.008 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007584/2.402, allocations: 0.558 MB / 1.008 GB, free: 113.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002099/2.404, allocations: 0.7457 MB / 1.009 GB, free: 112.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009239/2.405, allocations: 315.9 kB / 1.009 GB, free: 112.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01149/2.417, allocations: 6.055 MB / 1.015 GB, free: 106.2 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8.11e-07/2.417, allocations: 0 / 1.015 GB, free: 106.2 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01483/2.432, allocations: 2.621 MB / 1.018 GB, free: 103.6 MB / 0.5607 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.00235/2.434, allocations: 495.5 kB / 1.018 GB, free: 103.1 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01657/2.451, allocations: 10.42 MB / 1.028 GB, free: 92.59 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.482e-05/2.451, allocations: 20.19 kB / 1.028 GB, free: 92.57 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008336/2.459, allocations: 5.469 MB / 1.034 GB, free: 87.04 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08523/2.544, allocations: 1.49 MB / 1.035 GB, free: 85.57 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04898/2.593, allocations: 28.96 MB / 1.063 GB, free: 55.37 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01254/2.606, allocations: 7.778 MB / 1.071 GB, free: 47.55 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.009991/2.616, allocations: 3.566 MB / 1.074 GB, free: 43.98 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002708/2.619, allocations: 0.6321 MB / 1.075 GB, free: 43.35 MB / 0.5607 GB Notification: Performance of SimCode: time 2.274e-06/2.619, allocations: 0 / 1.075 GB, free: 43.35 MB / 0.5607 GB Notification: Performance of Templates: time 0.485/3.104, allocations: 95.54 MB / 1.168 GB, free: 154.5 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches