Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 101.7 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4277/0.4277, allocations: 43.48 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 55.91 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1313, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01803/0.1494, allocations: 19.56 MB / 0.4947 GB, free: 8.906 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.1602, allocations: 4.904 MB / 0.4995 GB, free: 3.984 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003846/0.164, allocations: 123.6 kB / 0.4996 GB, free: 3.863 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.3279/0.492, allocations: 7.38 MB / 0.5068 GB, free: 36.86 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.5025, allocations: 2.111 MB / 0.5089 GB, free: 36.79 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006228/0.5088, allocations: 1.177 MB / 0.51 GB, free: 36.77 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01928/0.5281, allocations: 12.9 MB / 0.5226 GB, free: 34.48 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0441/0.5722, allocations: 21.86 MB / 0.544 GB, free: 24.24 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01484/0.5871, allocations: 5.802 MB / 0.5496 GB, free: 21.77 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01725/0.6044, allocations: 7.082 MB / 0.5565 GB, free: 18.62 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008536/0.613, allocations: 1.234 MB / 0.5578 GB, free: 18.62 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/0.6239, allocations: 1.427 MB / 0.5591 GB, free: 18.55 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008873/0.6328, allocations: 3.168 MB / 0.5622 GB, free: 16.67 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02061/0.6534, allocations: 6.558 MB / 0.5686 GB, free: 10.77 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03572/0.6892, allocations: 23.16 MB / 0.5913 GB, free: 7.613 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.6893, allocations: 0 / 0.5913 GB, free: 7.613 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6893, allocations: 0 / 0.5913 GB, free: 7.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0009861/0.6903, allocations: 0 / 0.5913 GB, free: 7.613 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.0545/0.7448, allocations: 14.81 MB / 0.6057 GB, free: 8.828 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.7449, allocations: 8.031 kB / 0.6057 GB, free: 8.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06232/0.8072, allocations: 12.42 MB / 0.6178 GB, free: 12.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01886/0.8261, allocations: 6.579 MB / 0.6243 GB, free: 5.898 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00117/0.8273, allocations: 0.905 MB / 0.6252 GB, free: 5.004 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006392/0.8337, allocations: 1.189 MB / 0.6263 GB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05469/0.8884, allocations: 19.05 MB / 0.6449 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004964/0.889, allocations: 23.8 kB / 0.6449 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005218/0.8942, allocations: 0.4944 MB / 0.6454 GB, free: 268 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007836/0.895, allocations: 0.6856 MB / 0.6461 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05013/0.9452, allocations: 19.83 MB / 0.6655 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6876/1.633, allocations: 62.21 MB / 0.7262 GB, free: 105.8 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02341/1.656, allocations: 20.18 MB / 0.7459 GB, free: 91.35 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008378/1.665, allocations: 4.622 MB / 0.7504 GB, free: 89.76 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006825/1.665, allocations: 239.4 kB / 0.7507 GB, free: 89.65 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.873e-05/1.666, allocations: 108.4 kB / 0.7508 GB, free: 89.56 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=674): time 1.272e-05/1.666, allocations: 0 / 0.7508 GB, free: 89.56 MB / 0.4949 GB Notification: Performance of matching and sorting (n=674): time 0.02746/1.693, allocations: 12.54 MB / 0.763 GB, free: 84.87 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/1.693, allocations: 120 kB / 0.7631 GB, free: 84.8 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01922/1.712, allocations: 8.723 MB / 0.7716 GB, free: 81.95 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001604/1.714, allocations: 134.2 kB / 0.7718 GB, free: 81.83 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004751/1.719, allocations: 4.6 MB / 0.7763 GB, free: 77.88 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003331/1.722, allocations: 2.269 MB / 0.7785 GB, free: 75.92 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006317/1.728, allocations: 1.506 MB / 0.78 GB, free: 75.1 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 7.836e-05/1.729, allocations: 309.1 kB / 0.7803 GB, free: 74.8 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007391/1.736, allocations: 4.187 MB / 0.7843 GB, free: 72.63 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009237/1.745, allocations: 7.236 MB / 0.7914 GB, free: 66.38 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01652/1.762, allocations: 12.4 MB / 0.8035 GB, free: 57.24 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001331/1.762, allocations: 25.34 kB / 0.8035 GB, free: 57.24 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02516/1.787, allocations: 12.4 MB / 0.8156 GB, free: 47.42 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/1.787, allocations: 44 kB / 0.8157 GB, free: 47.38 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001867/1.788, allocations: 100 kB / 0.8158 GB, free: 47.28 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/1.789, allocations: 421.4 kB / 0.8162 GB, free: 46.85 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007937/1.797, allocations: 2.098 MB / 0.8182 GB, free: 44.75 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005703/1.802, allocations: 8.943 MB / 0.827 GB, free: 35.01 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009275/1.812, allocations: 1.392 MB / 0.8283 GB, free: 33.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002087/1.814, allocations: 400 kB / 0.8287 GB, free: 33.21 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * 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.0108/1.825, allocations: 4.675 MB / 0.8333 GB, free: 28.52 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002917/1.828, allocations: 0.7175 MB / 0.834 GB, free: 27.79 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0222/1.85, allocations: 11.05 MB / 0.8448 GB, free: 16.64 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.835e-05/1.85, allocations: 68 kB / 0.8448 GB, free: 16.57 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.225e-05/1.85, allocations: 4 kB / 0.8448 GB, free: 16.57 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001184/1.85, allocations: 35.86 kB / 0.8449 GB, free: 16.53 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4577/2.308, allocations: 159.2 MB / 1 GB, free: 88.88 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000238/2.308, allocations: 87.5 kB / 1 GB, free: 88.8 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006055/2.314, allocations: 1.579 MB / 1.002 GB, free: 87.22 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008994/2.315, allocations: 380.6 kB / 1.002 GB, free: 86.84 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001183/2.316, allocations: 255.9 kB / 1.003 GB, free: 86.59 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004807/2.321, allocations: 8.802 MB / 1.011 GB, free: 77.11 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-05/2.321, allocations: 139.4 kB / 1.011 GB, free: 76.98 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04946/2.371, allocations: 31.45 MB / 1.042 GB, free: 43.68 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006364/2.377, allocations: 2.043 MB / 1.044 GB, free: 41.68 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002999/2.38, allocations: 247.9 kB / 1.044 GB, free: 41.43 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007192/2.387, allocations: 0.5618 MB / 1.045 GB, free: 40.88 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00207/2.389, allocations: 0.7458 MB / 1.046 GB, free: 40.12 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001375/2.391, allocations: 319.2 kB / 1.046 GB, free: 39.82 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01104/2.402, allocations: 6.117 MB / 1.052 GB, free: 33.72 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.81e-07/2.402, allocations: 0 / 1.052 GB, free: 33.72 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01313/2.415, allocations: 3.175 MB / 1.055 GB, free: 30.54 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * 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 (741): * Single equations (assignments): 735 * 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.002338/2.417, allocations: 0.5047 MB / 1.055 GB, free: 30.03 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01694/2.434, allocations: 10.6 MB / 1.066 GB, free: 19.34 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-05/2.435, allocations: 12 kB / 1.066 GB, free: 19.32 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.008897/2.443, allocations: 5.514 MB / 1.071 GB, free: 13.75 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01454/2.458, allocations: 1.479 MB / 1.073 GB, free: 12.33 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3043/2.762, allocations: 33.47 MB / 1.105 GB, free: 142 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01794/2.78, allocations: 8.073 MB / 1.113 GB, free: 141 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01327/2.794, allocations: 3.658 MB / 1.117 GB, free: 140.8 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005499/2.799, allocations: 0.5963 MB / 1.117 GB, free: 140.8 MB / 0.5418 GB Notification: Performance of SimCode: time 1.353e-06/2.799, allocations: 0 / 1.117 GB, free: 140.8 MB / 0.5418 GB Notification: Performance of Templates: time 0.1636/2.963, allocations: 104.4 MB / 1.219 GB, free: 78.6 MB / 0.5418 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches