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.001392/0.001392, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001224/0.001224, allocations: 169.8 kB / 25.61 MB, free: 8.902 MB / 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.013/1.013, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.1368/0.1368, allocations: 32.81 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] 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 1.553e-06/1.553e-06, allocations: 0 / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.118e-05, allocations: 6.141 kB / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002435/0.002456, allocations: 2.478 MB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.003474, allocations: 0.8138 MB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.00361, allocations: 7.938 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.003781, allocations: 59.5 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.00399, allocations: 107.2 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.004194, allocations: 115.7 kB / 380.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.004415, allocations: 358.6 kB / 381.2 MB, free: 21.67 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.004546, allocations: 65.89 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.004782, allocations: 211.5 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.004894, allocations: 123.6 kB / 381.6 MB, free: 21.28 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.004924, allocations: 28 kB / 381.6 MB, free: 21.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.529e-05/0.00498, allocations: 32 kB / 381.6 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.005013, allocations: 67.75 kB / 381.7 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.005071, allocations: 107.7 kB / 381.8 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.00527, allocations: 243 kB / 382 MB, free: 20.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005272, allocations: 0 / 382 MB, free: 20.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005273, allocations: 3.938 kB / 382 MB, free: 20.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.005278, allocations: 0 / 382 MB, free: 20.8 MB / 314.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.000579/0.005857, allocations: 0.6633 MB / 382.7 MB, free: 20.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.005893, allocations: 19.98 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.006017, allocations: 60.7 kB / 382.8 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.006197, allocations: 207.5 kB / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.006212, allocations: 16.88 kB / 383 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.006234, allocations: 28.31 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.006433, allocations: 177.3 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.006443, allocations: 192 / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.006459, allocations: 12.38 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.006465, allocations: 7.938 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.00657, allocations: 91.41 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.00724, allocations: 0.6995 MB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.00745, allocations: 183.1 kB / 384.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.554e-05/0.007525, allocations: 75.64 kB / 384.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.007546, allocations: 4 kB / 384.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.007567, allocations: 41.39 kB / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/0.007568, allocations: 4 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.00183/0.009398, allocations: 0.8008 MB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/0.009418, allocations: 55.41 kB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.009529, allocations: 288.1 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.009543, allocations: 33.7 kB / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.009609, allocations: 227.3 kB / 385.7 MB, free: 16.94 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.009647, allocations: 99.11 kB / 385.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.009707, allocations: 67.28 kB / 385.9 MB, free: 16.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.15e-05/0.009769, allocations: 0.5157 MB / 386.4 MB, free: 16.24 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.46e-05/0.009813, allocations: 37.69 kB / 386.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-05/0.009874, allocations: 69.08 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.009983, allocations: 109.9 kB / 386.6 MB, free: 16.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.009985, allocations: 0 / 386.6 MB, free: 16.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006602/0.01064, allocations: 438 kB / 387 MB, free: 15.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.01066, allocations: 8 kB / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01066, allocations: 3.938 kB / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.01178, allocations: 470.2 kB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.091e-05/0.01185, allocations: 27.98 kB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.01478, allocations: 7.643 MB / 395.2 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.672e-05/0.01487, allocations: 27.89 kB / 395.2 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.01488, allocations: 8 kB / 395.2 MB, free: 6.91 MB / 314.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 8.25e-05/0.01496, allocations: 168.5 kB / 395.4 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.015, allocations: 35.81 kB / 395.4 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006398/0.01564, allocations: 439.7 kB / 395.8 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01564, allocations: 8 kB / 395.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.01564, allocations: 0 / 395.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01565, allocations: 0 / 395.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.01582, allocations: 213 kB / 396 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01582, allocations: 0 / 396 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.01587, allocations: 23.92 kB / 396.1 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.01693, allocations: 466.5 kB / 396.5 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.01695, allocations: 8 kB / 396.5 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003374/0.02032, allocations: 7.699 MB / 404.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.02032, allocations: 4.031 kB / 404.2 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007375/0.02106, allocations: 0.5525 MB / 404.8 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.02108, allocations: 31.73 kB / 404.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.0211, allocations: 11.94 kB / 404.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.02119, allocations: 4 kB / 404.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/0.02128, allocations: 43.86 kB / 404.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.02129, allocations: 4 kB / 404.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.04e-05/0.02138, allocations: 193.1 kB / 405.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02138, allocations: 0 / 405.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.02175, allocations: 123.9 kB / 405.2 MB, free: 12.34 MB / 330.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.0001113/0.02186, allocations: 103.2 kB / 405.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006602/0.02252, allocations: 0.8736 MB / 406.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.02252, allocations: 0 / 406.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007082/0.02323, allocations: 0.913 MB / 407.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.02346, allocations: 26.25 kB / 407.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/0.02423, allocations: 0.5183 MB / 407.6 MB, free: 9.711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.663e-05/0.0243, allocations: 100.6 kB / 407.7 MB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.216e-05/0.02434, allocations: 9.953 kB / 407.7 MB, free: 9.586 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.02441, allocations: 82.2 kB / 407.8 MB, free: 9.504 MB / 330.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02442, allocations: 7.875 kB / 407.8 MB, free: 9.496 MB / 330.7 MB Notification: Performance of Templates: time 0.01077/0.03519, allocations: 9.395 MB / 417.2 MB, free: 168 kB / 330.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] 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","",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.635183453094214]