Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.001446/0.001446, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002078/0.002078, allocations: 169.3 kB / 24.27 MB, free: 144 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.524/1.524, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3721/0.3721, allocations: 32.79 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.21e-05/4.448e-05, allocations: 5.547 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004561/0.004606, allocations: 2.354 MB / 377.6 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.006463, allocations: 0.7787 MB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.006614, allocations: 7.938 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.00688, allocations: 59.5 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.007246, allocations: 111.1 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.007556, allocations: 107.8 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004849/0.008041, allocations: 362.5 kB / 379 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.008242, allocations: 68.75 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004211/0.008663, allocations: 215.5 kB / 379.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.008892, allocations: 107.7 kB / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.157e-05/0.008974, allocations: 32 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.711e-05/0.009071, allocations: 36 kB / 379.5 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.572e-05/0.009166, allocations: 75.72 kB / 379.6 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.00932, allocations: 99.73 kB / 379.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005772/0.009897, allocations: 398.7 kB / 380 MB, free: 180 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.009901, allocations: 0 / 380 MB, free: 180 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.009903, allocations: 0 / 380 MB, free: 180 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.009921, allocations: 0 / 380 MB, free: 180 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001366/0.01129, allocations: 0.5509 MB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.01133, allocations: 12.03 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.01158, allocations: 56.7 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.01207, allocations: 224.6 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.0121, allocations: 16.88 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/0.01243, allocations: 24.38 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.01303, allocations: 248.6 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.01304, allocations: 192 / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.01308, allocations: 9.312 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.0131, allocations: 11.98 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005815/0.01368, allocations: 233.9 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.01534, allocations: 0.7388 MB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.01599, allocations: 282.6 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.0163, allocations: 124.8 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.01635, allocations: 11.98 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.01639, allocations: 38.56 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.362e-06/0.01639, allocations: 3.938 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.004983/0.02137, allocations: 0.9689 MB / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.02144, allocations: 59.34 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.02179, allocations: 242.4 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.02182, allocations: 29.7 kB / 383.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.02199, allocations: 168.7 kB / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.0221, allocations: 103.1 kB / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.02222, allocations: 53.7 kB / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.02244, allocations: 338.8 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.02268, allocations: 91.95 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.02296, allocations: 119.4 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.02346, allocations: 235.3 kB / 385 MB, free: 11.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02346, allocations: 0 / 385 MB, free: 11.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002005/0.02546, allocations: 0.5528 MB / 385.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.02549, allocations: 12 kB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.02549, allocations: 0 / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002913/0.02841, allocations: 487 kB / 386 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.02859, allocations: 35.84 kB / 386.1 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009111/0.0377, allocations: 6.305 MB / 392.4 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.03796, allocations: 27.86 kB / 392.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.03799, allocations: 15.98 kB / 392.4 MB, free: 3.164 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000218/0.03821, allocations: 149.8 kB / 392.5 MB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.0383, allocations: 35.81 kB / 392.6 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.04032, allocations: 0.5423 MB / 393.1 MB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.04032, allocations: 4 kB / 393.1 MB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.04032, allocations: 3.938 kB / 393.1 MB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.04033, allocations: 7.984 kB / 393.1 MB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.04076, allocations: 245.1 kB / 393.4 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.04076, allocations: 192 / 393.4 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.04088, allocations: 19.98 kB / 393.4 MB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002825/0.04371, allocations: 498.9 kB / 393.9 MB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.04373, allocations: 4 kB / 393.9 MB, free: 1.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009255/0.05299, allocations: 6.365 MB / 400.3 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.05299, allocations: 4.062 kB / 400.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.055, allocations: 0.6244 MB / 400.9 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.05505, allocations: 31.73 kB / 400.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.05509, allocations: 12 kB / 400.9 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.05529, allocations: 8 kB / 400.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.05543, allocations: 43.86 kB / 401 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.05544, allocations: 8 kB / 401 MB, free: 10.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002032/0.05565, allocations: 165.2 kB / 401.1 MB, free: 9.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05565, allocations: 0 / 401.1 MB, free: 9.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005394/0.05619, allocations: 123.9 kB / 401.3 MB, free: 9.789 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001517/0.05634, allocations: 95.25 kB / 401.4 MB, free: 9.684 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.0576, allocations: 0.7521 MB / 402.1 MB, free: 8.879 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.05761, allocations: 0 / 402.1 MB, free: 8.879 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.05928, allocations: 0.7323 MB / 402.8 MB, free: 8.094 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.05963, allocations: 20.5 kB / 402.9 MB, free: 8.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.06075, allocations: 0.54 MB / 403.4 MB, free: 7.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.06095, allocations: 171.7 kB / 403.6 MB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.114e-05/0.06101, allocations: 13.94 kB / 403.6 MB, free: 7.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.06106, allocations: 12.5 kB / 403.6 MB, free: 7.289 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.06106, allocations: 0 / 403.6 MB, free: 7.289 MB / 378.7 MB Notification: Performance of Templates: time 0.01592/0.07698, allocations: 8.427 MB / 412 MB, free: 14.91 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3763307640329]