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.001403/0.001403, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001758/0.001758, 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 0.9609/0.9609, allocations: 177.1 MB / 205 MB, free: 5.602 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.26/0.26, allocations: 34.26 MB / 295.7 MB, free: 0.7109 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.353e-06/1.353e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.435e-05, allocations: 5.688 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004152/0.004177, allocations: 3.519 MB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.005405, allocations: 0.8255 MB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.005575, allocations: 11.94 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.005751, allocations: 71.3 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.005987, allocations: 134.7 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.006314, allocations: 135.7 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000451/0.006765, allocations: 0.5372 MB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.007032, allocations: 166.3 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.007354, allocations: 323.4 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.007559, allocations: 171.5 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.007622, allocations: 52 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.138e-05/0.007684, allocations: 51.94 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.572e-05/0.007759, allocations: 119.6 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.007913, allocations: 171.6 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.008295, allocations: 366.6 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.008298, allocations: 0 / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.008299, allocations: 0 / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.008305, allocations: 0 / 384.6 MB, free: 12 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.0009438/0.009249, allocations: 0.7883 MB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.009287, allocations: 12.03 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.009404, allocations: 92.61 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.009726, allocations: 261.8 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.009765, allocations: 37.38 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.849e-05/0.009833, allocations: 48.38 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005714/0.0104, allocations: 436.4 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.01042, allocations: 192 / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.01045, allocations: 24.36 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.01047, allocations: 15.94 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.01078, allocations: 174.8 kB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.01248, allocations: 1.58 MB / 388.1 MB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.01279, allocations: 201.9 kB / 388.3 MB, free: 8.121 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.01295, allocations: 91.33 kB / 388.4 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.01297, allocations: 4.25 kB / 388.4 MB, free: 8.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.013, allocations: 41.39 kB / 388.4 MB, free: 7.969 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.452e-06/0.013, allocations: 0 / 388.4 MB, free: 7.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001677/0.01468, allocations: 0.9852 MB / 389.4 MB, free: 6.914 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.01472, allocations: 81.11 kB / 389.5 MB, free: 6.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.01493, allocations: 296.4 kB / 389.8 MB, free: 6.512 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.01495, allocations: 29.7 kB / 389.8 MB, free: 6.477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.01509, allocations: 318.8 kB / 390.1 MB, free: 6.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.01517, allocations: 122.9 kB / 390.2 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/0.01526, allocations: 79.84 kB / 390.3 MB, free: 5.953 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.01539, allocations: 0.5079 MB / 390.8 MB, free: 5.434 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.01551, allocations: 56.97 kB / 390.9 MB, free: 5.375 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.01568, allocations: 200.6 kB / 391.1 MB, free: 5.125 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.016, allocations: 296.6 kB / 391.4 MB, free: 4.781 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.016, allocations: 7.938 kB / 391.4 MB, free: 4.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004717/0.01647, allocations: 332.7 kB / 391.7 MB, free: 4.438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.01649, allocations: 8 kB / 391.7 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.0165, allocations: 4 kB / 391.7 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.01665, allocations: 40.02 kB / 391.7 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.01696, allocations: 119.8 kB / 391.9 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009097/0.01787, allocations: 1.771 MB / 393.6 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.018, allocations: 16.03 kB / 393.6 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.01803, allocations: 16 kB / 393.7 MB, free: 2.34 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.0001285/0.01815, allocations: 184.5 kB / 393.8 MB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-05/0.01823, allocations: 43.75 kB / 393.9 MB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.01827, allocations: 38.05 kB / 393.9 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01828, allocations: 4 kB / 393.9 MB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.01828, allocations: 4 kB / 393.9 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01829, allocations: 3.984 kB / 393.9 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006973/0.01898, allocations: 0.5822 MB / 394.5 MB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.01899, allocations: 7.984 kB / 394.5 MB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.01925, allocations: 87.89 kB / 394.6 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.131e-05/0.01933, allocations: 27.8 kB / 394.6 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.01935, allocations: 15.98 kB / 394.6 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007782/0.02013, allocations: 1.764 MB / 396.4 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02013, allocations: 0 / 396.4 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.02064, allocations: 0.5709 MB / 397 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.02072, allocations: 51.72 kB / 397 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.02074, allocations: 4 kB / 397 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.0209, allocations: 19.98 kB / 397.1 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.02096, allocations: 31.92 kB / 397.1 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.02098, allocations: 11.94 kB / 397.1 MB, free: 14.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.0211, allocations: 201.1 kB / 397.3 MB, free: 14.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0211, allocations: 0 / 397.3 MB, free: 14.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003876/0.02149, allocations: 96 kB / 397.4 MB, free: 14.39 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.0001061/0.0216, allocations: 111.3 kB / 397.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000478/0.02208, allocations: 385 kB / 397.9 MB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02208, allocations: 0 / 397.9 MB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.02228, allocations: 273.4 kB / 398.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.02269, allocations: 39.14 kB / 398.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.02402, allocations: 0.8172 MB / 399 MB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.31e-05/0.02411, allocations: 109.3 kB / 399.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.02422, allocations: 34.95 kB / 399.1 MB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.02428, allocations: 28.5 kB / 399.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02428, allocations: 0 / 399.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of Templates: time 0.006292/0.03057, allocations: 2.972 MB / 402.1 MB, free: 9.562 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.4144166661426425]