Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.0009651/0.0009651, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.0009843/0.0009843, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.084/1.084, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.278/0.278, allocations: 34.26 MB / 295.7 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 378 MB, free: 2.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.49e-05, allocations: 2.312 kB / 378 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003694/0.003719, allocations: 3.526 MB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.005334, allocations: 0.8177 MB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.00553, allocations: 15.94 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.005717, allocations: 71.3 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.005965, allocations: 142.6 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.006293, allocations: 127.8 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.00673, allocations: 0.5411 MB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.006966, allocations: 166.3 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.007272, allocations: 323.3 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.007458, allocations: 179.5 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.371e-05/0.007512, allocations: 48 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.26e-05/0.007564, allocations: 48 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.76e-05/0.007632, allocations: 111.6 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.007748, allocations: 171.6 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.008081, allocations: 374.6 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.008085, allocations: 4 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.008086, allocations: 0 / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.008092, allocations: 0 / 384.6 MB, free: 12.03 MB / 362.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.0009607/0.009053, allocations: 0.7843 MB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.009091, allocations: 8.031 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.009199, allocations: 92.61 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.009495, allocations: 260.8 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.009537, allocations: 37.38 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.009586, allocations: 44.38 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.01008, allocations: 440.4 kB / 386.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.01009, allocations: 4.188 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.01013, allocations: 20.38 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.01014, allocations: 15.94 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.0104, allocations: 174.8 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.01195, allocations: 1.58 MB / 388.1 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.01222, allocations: 182 kB / 388.3 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.01237, allocations: 95.58 kB / 388.4 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.01239, allocations: 8.219 kB / 388.4 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.01241, allocations: 49.31 kB / 388.4 MB, free: 8.012 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.315e-06/0.01241, allocations: 0 / 388.4 MB, free: 8.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001559/0.01397, allocations: 0.974 MB / 389.4 MB, free: 6.965 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.01401, allocations: 81.11 kB / 389.5 MB, free: 6.867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.01421, allocations: 304.2 kB / 389.8 MB, free: 6.555 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.01423, allocations: 33.7 kB / 389.8 MB, free: 6.516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.01436, allocations: 306.8 kB / 390.1 MB, free: 6.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.048e-05/0.01443, allocations: 134.9 kB / 390.2 MB, free: 6.078 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.491e-05/0.01451, allocations: 75.86 kB / 390.3 MB, free: 5.996 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.01464, allocations: 0.5118 MB / 390.8 MB, free: 5.473 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-05/0.01473, allocations: 56.91 kB / 390.9 MB, free: 5.414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.01487, allocations: 208.5 kB / 391.1 MB, free: 5.156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.01513, allocations: 296.9 kB / 391.4 MB, free: 4.812 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01514, allocations: 3.984 kB / 391.4 MB, free: 4.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003927/0.01553, allocations: 332.7 kB / 391.7 MB, free: 4.473 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.01555, allocations: 8 kB / 391.7 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.01556, allocations: 4 kB / 391.7 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/0.01569, allocations: 31.67 kB / 391.7 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.01594, allocations: 124.2 kB / 391.8 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009043/0.01685, allocations: 1.768 MB / 393.6 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.01697, allocations: 15.98 kB / 393.6 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.01699, allocations: 20 kB / 393.7 MB, free: 2.375 MB / 362.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 0.0001174/0.01711, allocations: 176.5 kB / 393.8 MB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.01717, allocations: 51.78 kB / 393.9 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.01721, allocations: 42.19 kB / 393.9 MB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.01721, allocations: 7.984 kB / 393.9 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.01722, allocations: 0 / 393.9 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.01722, allocations: 7.984 kB / 393.9 MB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006148/0.01784, allocations: 0.5783 MB / 394.5 MB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.01784, allocations: 0 / 394.5 MB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.01806, allocations: 91.94 kB / 394.6 MB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.317e-05/0.01813, allocations: 31.67 kB / 394.6 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.01815, allocations: 4 kB / 394.6 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006908/0.01884, allocations: 1.771 MB / 396.4 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01884, allocations: 0 / 396.4 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.01927, allocations: 0.571 MB / 397 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.01933, allocations: 51.75 kB / 397 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.01936, allocations: 8 kB / 397 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.01947, allocations: 12 kB / 397 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.01953, allocations: 35.88 kB / 397.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.01955, allocations: 12 kB / 397.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.01965, allocations: 201.1 kB / 397.3 MB, free: 14.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01965, allocations: 0 / 397.3 MB, free: 14.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003104/0.01996, allocations: 92 kB / 397.4 MB, free: 14.43 MB / 378.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 0.0001043/0.02007, allocations: 111.1 kB / 397.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004421/0.02051, allocations: 385.2 kB / 397.9 MB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.02051, allocations: 4 kB / 397.9 MB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.02068, allocations: 270.1 kB / 398.1 MB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.021, allocations: 44.61 kB / 398.2 MB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.02219, allocations: 0.8204 MB / 399 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.02229, allocations: 105.3 kB / 399.1 MB, free: 12.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.0224, allocations: 30.97 kB / 399.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.02246, allocations: 28.5 kB / 399.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.02246, allocations: 0 / 399.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of Templates: time 0.005922/0.02838, allocations: 3.102 MB / 402.3 MB, free: 9.48 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 3.3941716700792313]