Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008672/0.0008672, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001236/0.002103, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007252/0.0007252, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009532/0.001678, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8515/0.8515, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1518/1.003, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.212e-05, allocations: 9.406 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01335/0.01336, allocations: 7.478 MB / 229.5 MB, free: 8.535 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007916/0.02128, allocations: 2.827 MB / 232.3 MB, free: 5.699 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003647/0.02493, allocations: 75.38 kB / 232.4 MB, free: 5.625 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009937/0.02592, allocations: 0.5858 MB / 233 MB, free: 5.035 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.02735, allocations: 0.7917 MB / 233.8 MB, free: 4.238 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003737/0.03109, allocations: 443.2 kB / 234.2 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.006009/0.0371, allocations: 3.571 MB / 237.8 MB, free: 224 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/0.03908, allocations: 1.895 MB / 239.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.04259, allocations: 3.047 MB / 242.7 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.04424, allocations: 1.875 MB / 244.6 MB, free: 9.316 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004064/0.04464, allocations: 452 kB / 245 MB, free: 8.875 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000803/0.04545, allocations: 0.6479 MB / 245.7 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006531/0.0461, allocations: 1.029 MB / 246.7 MB, free: 7.195 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009721/0.04707, allocations: 1.107 MB / 247.8 MB, free: 6.086 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.04956, allocations: 3.061 MB / 250.9 MB, free: 3.016 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.04957, allocations: 0 / 250.9 MB, free: 3.016 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.04957, allocations: 0 / 250.9 MB, free: 3.016 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.91e-05/0.04962, allocations: 0 / 250.9 MB, free: 3.016 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.004203/0.05382, allocations: 4.186 MB / 255 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.05387, allocations: 12.03 kB / 255.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008587/0.05473, allocations: 0.5874 MB / 255.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.05639, allocations: 1.208 MB / 256.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.05649, allocations: 218.2 kB / 257.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/0.05676, allocations: 288.4 kB / 257.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.05897, allocations: 2.353 MB / 259.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.059, allocations: 0 / 259.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.05917, allocations: 120 kB / 259.8 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.05928, allocations: 137.9 kB / 260 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.0604, allocations: 0.8216 MB / 260.8 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006944/0.06734, allocations: 6.494 MB / 267.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007977/0.06814, allocations: 0.7898 MB / 268.1 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008794/0.06902, allocations: 0.746 MB / 268.8 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.06914, allocations: 48.97 kB / 268.9 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.06918, allocations: 47.56 kB / 268.9 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.294e-06/0.06918, allocations: 0 / 268.9 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003045/0.07222, allocations: 1.961 MB / 270.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.07226, allocations: 68.72 kB / 270.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000765/0.07302, allocations: 1.089 MB / 272 MB, free: 13.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.07308, allocations: 45.7 kB / 272.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004689/0.07355, allocations: 1.152 MB / 273.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.07378, allocations: 475.8 kB / 273.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.07402, allocations: 255.4 kB / 273.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.07408, allocations: 305.1 kB / 274.2 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.07432, allocations: 182.7 kB / 274.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.07473, allocations: 0.5379 MB / 274.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007532/0.07548, allocations: 0.8711 MB / 275.8 MB, free: 9.219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.07549, allocations: 0 / 275.8 MB, free: 9.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001123/0.07661, allocations: 0.9645 MB / 276.8 MB, free: 8.242 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.07663, allocations: 12 kB / 276.8 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.07664, allocations: 8 kB / 276.8 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009187/0.07756, allocations: 381.1 kB / 277.2 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/0.0783, allocations: 347.5 kB / 277.5 MB, free: 7.508 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.08042, allocations: 2.56 MB / 280.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.08083, allocations: 59.95 kB / 280.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.538e-05/0.08091, allocations: 51.98 kB / 280.2 MB, free: 4.742 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (157): * Single equations (assignments): 152 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003298/0.08124, allocations: 200.2 kB / 280.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.08144, allocations: 155.8 kB / 280.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008904/0.08233, allocations: 0.803 MB / 281.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.08235, allocations: 16 kB / 281.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.08236, allocations: 11.94 kB / 281.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.08237, allocations: 11.91 kB / 281.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.08499, allocations: 2.594 MB / 284 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.08499, allocations: 0 / 284 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/0.08553, allocations: 235.8 kB / 284.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.08582, allocations: 218.8 kB / 284.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008285/0.08665, allocations: 363.3 kB / 284.8 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.529e-05/0.08671, allocations: 39.92 kB / 284.8 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1183/0.205, allocations: 2.58 MB / 287.4 MB, free: 46.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.205, allocations: 2.875 kB / 287.4 MB, free: 46.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.2073, allocations: 1.161 MB / 288.5 MB, free: 46.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/0.2076, allocations: 30.12 kB / 288.6 MB, free: 46.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/0.2081, allocations: 64.53 kB / 288.6 MB, free: 46.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.2083, allocations: 90.11 kB / 288.7 MB, free: 46.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.606e-05/0.2084, allocations: 33.34 kB / 288.8 MB, free: 46.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007914/0.2092, allocations: 0.5491 MB / 289.3 MB, free: 46.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2092, allocations: 4.656 kB / 289.3 MB, free: 46.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001665/0.2109, allocations: 0.5392 MB / 289.8 MB, free: 46.3 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (103): * Single equations (assignments): 98 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000549/0.2114, allocations: 213.5 kB / 290.1 MB, free: 46.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.2131, allocations: 0.9738 MB / 291 MB, free: 46.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.914e-05/0.2132, allocations: 29.34 kB / 291.1 MB, free: 46.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.2143, allocations: 0.7177 MB / 291.8 MB, free: 45.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.2164, allocations: 4.058 MB / 295.8 MB, free: 41.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/0.2344, allocations: 5.068 MB / 300.9 MB, free: 39.85 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/0.235, allocations: 0.7277 MB / 301.6 MB, free: 39.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006303/0.2357, allocations: 227.6 kB / 301.9 MB, free: 39.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008262/0.2365, allocations: 447.1 kB / 302.3 MB, free: 39.61 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2365, allocations: 2.297 kB / 302.3 MB, free: 39.61 MB / 282.7 MB Notification: Performance of Templates: time 0.0306/0.2671, allocations: 29.06 MB / 331.3 MB, free: 15.12 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3853139616549015]