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.001144/0.001144, allocations: 109.5 kB / 17.78 MB, free: 5.293 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.0009989/0.000999, allocations: 188 kB / 18.71 MB, free: 4.367 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.285/1.285, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.1942/0.1942, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.89 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3313, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.0183/0.3497, allocations: 19.74 MB / 0.5382 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.3603, allocations: 4.916 MB / 0.543 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004191/0.3645, allocations: 161.6 kB / 0.5431 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01629/0.3809, allocations: 7.76 MB / 0.5507 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007813/0.3888, allocations: 2.207 MB / 0.5529 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003723/0.3925, allocations: 1.271 MB / 0.5541 GB, free: 7.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01311/0.4056, allocations: 12.15 MB / 0.566 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03221/0.4379, allocations: 26.07 MB / 0.5914 GB, free: 1.504 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009689/0.4476, allocations: 6.522 MB / 0.5978 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01191/0.4596, allocations: 7.214 MB / 0.6048 GB, free: 3.723 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004933/0.4645, allocations: 1.719 MB / 0.6065 GB, free: 2.004 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006052/0.4706, allocations: 1.914 MB / 0.6084 GB, free: 92 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005504/0.4761, allocations: 3.647 MB / 0.6119 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01454/0.4907, allocations: 7.011 MB / 0.6188 GB, free: 5.395 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02672/0.5174, allocations: 23.61 MB / 0.6419 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.5175, allocations: 0 / 0.6419 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5175, allocations: 4 kB / 0.6419 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0006334/0.5181, allocations: 0 / 0.6419 GB, free: 13.71 MB / 0.4981 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.04213/0.5603, allocations: 14.56 MB / 0.6561 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.5603, allocations: 8.031 kB / 0.6561 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05854/0.6189, allocations: 11.44 MB / 0.6672 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01628/0.6352, allocations: 7.314 MB / 0.6744 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008248/0.6361, allocations: 0.8949 MB / 0.6753 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004811/0.6409, allocations: 1.168 MB / 0.6764 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04033/0.6812, allocations: 18.56 MB / 0.6945 GB, free: 7.496 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006541/0.6819, allocations: 19.91 kB / 0.6945 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003859/0.6858, allocations: 495.9 kB / 0.695 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007295/0.6866, allocations: 0.6617 MB / 0.6957 GB, free: 6.328 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04272/0.7293, allocations: 19.08 MB / 0.7143 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6258/1.355, allocations: 59.96 MB / 0.7729 GB, free: 117.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.019/1.374, allocations: 16.61 MB / 0.7891 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006744/1.381, allocations: 4.532 MB / 0.7935 GB, free: 98.09 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007594/1.382, allocations: 237.9 kB / 0.7937 GB, free: 97.87 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/1.382, allocations: 111.6 kB / 0.7938 GB, free: 97.75 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.705e-05/1.382, allocations: 0 / 0.7938 GB, free: 97.75 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.02026/1.402, allocations: 12.34 MB / 0.8059 GB, free: 85.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/1.402, allocations: 120.5 kB / 0.806 GB, free: 85.06 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0148/1.417, allocations: 8.607 MB / 0.8144 GB, free: 76.47 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001497/1.419, allocations: 129.7 kB / 0.8145 GB, free: 76.34 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003794/1.422, allocations: 4.496 MB / 0.8189 GB, free: 71.82 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00231/1.425, allocations: 2.184 MB / 0.8211 GB, free: 69.62 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004097/1.429, allocations: 1.435 MB / 0.8225 GB, free: 68.18 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.407e-05/1.429, allocations: 305.1 kB / 0.8228 GB, free: 67.88 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005748/1.435, allocations: 4.102 MB / 0.8268 GB, free: 63.77 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007389/1.442, allocations: 6.909 MB / 0.8335 GB, free: 55.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/1.454, allocations: 11.93 MB / 0.8452 GB, free: 42.31 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.519e-05/1.455, allocations: 24 kB / 0.8452 GB, free: 42.29 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02051/1.475, allocations: 12.01 MB / 0.8569 GB, free: 30.17 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.006e-05/1.475, allocations: 44 kB / 0.8569 GB, free: 30.12 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001509/1.475, allocations: 99.94 kB / 0.857 GB, free: 30.03 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009866/1.476, allocations: 408.9 kB / 0.8574 GB, free: 29.61 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006858/1.483, allocations: 1.997 MB / 0.8594 GB, free: 27.61 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005453/1.489, allocations: 9.58 MB / 0.8687 GB, free: 17.18 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006814/1.496, allocations: 1.35 MB / 0.8701 GB, free: 15.82 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009895/1.497, allocations: 376 kB / 0.8704 GB, free: 15.45 MB / 0.5607 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.007033/1.504, allocations: 4.586 MB / 0.8749 GB, free: 10.85 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001456/1.505, allocations: 0.6982 MB / 0.8756 GB, free: 10.14 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/1.521, allocations: 10.59 MB / 0.8859 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.045e-05/1.521, allocations: 68 kB / 0.886 GB, free: 15.38 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.293e-05/1.521, allocations: 0 / 0.886 GB, free: 15.38 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.874e-05/1.521, allocations: 39.8 kB / 0.886 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.506/2.027, allocations: 156.5 MB / 1.039 GB, free: 167.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.133e-05/2.027, allocations: 84 kB / 1.039 GB, free: 167 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00477/2.032, allocations: 1.54 MB / 1.04 GB, free: 165.5 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007356/2.033, allocations: 380.5 kB / 1.041 GB, free: 165.1 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004007/2.033, allocations: 244 kB / 1.041 GB, free: 164.8 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004734/2.038, allocations: 9.47 MB / 1.05 GB, free: 154.7 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.68e-05/2.038, allocations: 131.4 kB / 1.05 GB, free: 154.5 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/2.056, allocations: 18.53 MB / 1.069 GB, free: 134.3 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005873/2.062, allocations: 2.013 MB / 1.07 GB, free: 132.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002016/2.064, allocations: 247.6 kB / 1.071 GB, free: 132.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005856/2.07, allocations: 0.5541 MB / 1.071 GB, free: 131.6 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009842/2.071, allocations: 0.734 MB / 1.072 GB, free: 130.9 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004753/2.072, allocations: 305.2 kB / 1.072 GB, free: 130.6 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.008505/2.08, allocations: 6.051 MB / 1.078 GB, free: 124.5 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.413e-06/2.08, allocations: 0 / 1.078 GB, free: 124.5 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.009831/2.09, allocations: 2.619 MB / 1.081 GB, free: 121.9 MB / 0.6388 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.001758/2.092, allocations: 492.7 kB / 1.081 GB, free: 121.4 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01401/2.106, allocations: 10.59 MB / 1.092 GB, free: 110.8 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 6.86e-05/2.106, allocations: 12 kB / 1.092 GB, free: 110.8 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.007267/2.113, allocations: 5.446 MB / 1.097 GB, free: 105.2 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009762/2.123, allocations: 1.488 MB / 1.098 GB, free: 103.8 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03128/2.154, allocations: 24.63 MB / 1.122 GB, free: 77.93 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006605/2.161, allocations: 7.773 MB / 1.13 GB, free: 70.12 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.007568/2.168, allocations: 3.562 MB / 1.133 GB, free: 66.55 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001919/2.17, allocations: 0.5814 MB / 1.134 GB, free: 65.96 MB / 0.6388 GB Notification: Performance of SimCode: time 8.91e-07/2.17, allocations: 0 / 1.134 GB, free: 65.96 MB / 0.6388 GB Notification: Performance of Templates: time 0.4272/2.598, allocations: 97.71 MB / 1.229 GB, free: 208.4 MB / 0.6544 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