Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 88.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 161 kB / 24.91 MB, free: 9.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9675/0.9675, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2675/0.2675, allocations: 34.86 MB / 296.6 MB, free: 0.5117 MB / 266.7 MB " [Timeout remaining time 180] 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.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.476e-05, allocations: 8.109 kB / 325.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003236/0.00325, allocations: 3.481 MB / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.004764, allocations: 0.8392 MB / 330.2 MB, free: 2.852 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.004926, allocations: 8 kB / 330.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.005097, allocations: 87.16 kB / 330.3 MB, free: 2.758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.005315, allocations: 126.8 kB / 330.4 MB, free: 2.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.005624, allocations: 131.7 kB / 330.6 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.006033, allocations: 0.541 MB / 331.1 MB, free: 1.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.006274, allocations: 180.3 kB / 331.3 MB, free: 1.781 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.006593, allocations: 323.4 kB / 331.6 MB, free: 1.465 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.006777, allocations: 167.5 kB / 331.7 MB, free: 1.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/0.006837, allocations: 55.98 kB / 331.8 MB, free: 1.246 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.572e-05/0.006882, allocations: 48 kB / 331.9 MB, free: 1.195 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.082e-05/0.006953, allocations: 115.6 kB / 332 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.007071, allocations: 175.6 kB / 332.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.007401, allocations: 362.6 kB / 332.5 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.007403, allocations: 0 / 332.5 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.007404, allocations: 0 / 332.5 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.00741, allocations: 4 kB / 332.5 MB, free: 0.5508 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0007648/0.008175, allocations: 0.6726 MB / 333.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.008206, allocations: 8.031 kB / 333.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.116e-05/0.008287, allocations: 80.88 kB / 333.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.008533, allocations: 206 kB / 333.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.008562, allocations: 37.31 kB / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.008613, allocations: 48.38 kB / 333.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.009003, allocations: 415.8 kB / 333.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.009014, allocations: 192 / 333.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.009038, allocations: 20.38 kB / 334 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.00905, allocations: 15.94 kB / 334 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.009199, allocations: 124 kB / 334.1 MB, free: 14.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.01049, allocations: 1.29 MB / 335.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.01069, allocations: 157 kB / 335.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.777e-05/0.01079, allocations: 81.83 kB / 335.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.01081, allocations: 4 kB / 335.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.01083, allocations: 38.5 kB / 335.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.342e-06/0.01083, allocations: 0 / 335.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001234/0.01206, allocations: 0.8462 MB / 336.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.0121, allocations: 85.11 kB / 336.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.01222, allocations: 232.9 kB / 336.8 MB, free: 11.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.01224, allocations: 37.7 kB / 336.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.034e-05/0.01233, allocations: 248.1 kB / 337.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.755e-05/0.0124, allocations: 130.9 kB / 337.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.96e-05/0.01247, allocations: 74.12 kB / 337.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.01257, allocations: 346.7 kB / 337.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.928e-05/0.01262, allocations: 40.98 kB / 337.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.01272, allocations: 148.9 kB / 337.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.0129, allocations: 230 kB / 338 MB, free: 10.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.0129, allocations: 3.938 kB / 338.1 MB, free: 10.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002427/0.01315, allocations: 254 kB / 338.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.01316, allocations: 4.375 kB / 338.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.01316, allocations: 8 kB / 338.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.304e-05/0.01326, allocations: 24.84 kB / 338.3 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.01348, allocations: 119.8 kB / 338.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005503/0.01403, allocations: 1.19 MB / 339.6 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.957e-05/0.01413, allocations: 16 kB / 339.7 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.01414, allocations: 12 kB / 339.7 MB, free: 8.871 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.34e-05/0.01423, allocations: 145.6 kB / 339.8 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.01428, allocations: 27.98 kB / 339.8 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.01431, allocations: 34.11 kB / 339.9 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01431, allocations: 4 kB / 339.9 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01432, allocations: 4 kB / 339.9 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.01432, allocations: 8.016 kB / 339.9 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/0.01473, allocations: 401 kB / 340.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01473, allocations: 0 / 340.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.01492, allocations: 87.94 kB / 340.4 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.706e-05/0.01498, allocations: 24.78 kB / 340.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.01499, allocations: 12.06 kB / 340.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004681/0.01546, allocations: 1.195 MB / 341.6 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01546, allocations: 0 / 341.6 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.01574, allocations: 413.9 kB / 342 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.01579, allocations: 27.81 kB / 342 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.01581, allocations: 11.98 kB / 342 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.01592, allocations: 16.03 kB / 342.1 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.01596, allocations: 27.95 kB / 342.1 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.01597, allocations: 11.98 kB / 342.1 MB, free: 6.289 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.583e-05/0.01602, allocations: 82.72 kB / 342.2 MB, free: 6.207 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01602, allocations: 0 / 342.2 MB, free: 6.207 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.01627, allocations: 92 kB / 342.3 MB, free: 6.117 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.509e-05/0.01634, allocations: 81.12 kB / 342.3 MB, free: 6.031 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.01662, allocations: 303 kB / 342.6 MB, free: 5.723 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/0.01663, allocations: 8.5 kB / 342.7 MB, free: 5.715 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.01675, allocations: 199.3 kB / 342.8 MB, free: 5.504 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.01698, allocations: 46.47 kB / 342.9 MB, free: 5.461 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008954/0.01787, allocations: 0.7704 MB / 343.7 MB, free: 4.652 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.783e-05/0.01794, allocations: 105.3 kB / 343.8 MB, free: 4.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.674e-05/0.01803, allocations: 38.95 kB / 343.8 MB, free: 4.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.01813, allocations: 99.34 kB / 343.9 MB, free: 4.383 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01813, allocations: 4 kB / 343.9 MB, free: 4.379 MB / 314.7 MB Notification: Performance of Templates: time 0.005088/0.02322, allocations: 3.141 MB / 347 MB, free: 1.301 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9971166350878775]