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.001348/0.001348, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001237/0.001237, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.165/1.165, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.3534/0.3534, allocations: 32.8 MB / 294.6 MB, free: 1.254 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 1.904e-06/1.904e-06, allocations: 0 / 376.5 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.559e-05/3.749e-05, allocations: 9.484 kB / 376.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004365/0.004402, allocations: 2.494 MB / 379 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.006154, allocations: 0.8061 MB / 379.8 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.006433, allocations: 4 kB / 379.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.006686, allocations: 59.44 kB / 379.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.007016, allocations: 111.1 kB / 379.9 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.007333, allocations: 103.8 kB / 380 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.007745, allocations: 370 kB / 380.4 MB, free: 488 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.007923, allocations: 64.83 kB / 380.5 MB, free: 424 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000395/0.008318, allocations: 207.6 kB / 380.7 MB, free: 216 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.008496, allocations: 115.7 kB / 380.8 MB, free: 100 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.761e-05/0.008544, allocations: 28 kB / 380.8 MB, free: 72 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.368e-05/0.008627, allocations: 36 kB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.008697, allocations: 75.77 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.863e-05/0.008795, allocations: 103.7 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.009106, allocations: 243.1 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.009108, allocations: 0 / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.00911, allocations: 0 / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.009115, allocations: 0 / 381.3 MB, free: 15.62 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009313/0.01005, allocations: 0.6633 MB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.01009, allocations: 8.031 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.01027, allocations: 60.7 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.01056, allocations: 219.4 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.01059, allocations: 20.88 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.01062, allocations: 16.38 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.01093, allocations: 177.3 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.01095, allocations: 4.188 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.01097, allocations: 8.375 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.01098, allocations: 11.94 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.01116, allocations: 91.34 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.01234, allocations: 0.7111 MB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.01263, allocations: 193.6 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.01274, allocations: 71.66 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.01277, allocations: 4 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.01279, allocations: 45.33 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.0128, allocations: 0 / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.00259/0.01539, allocations: 0.8037 MB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.01542, allocations: 59.39 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.01562, allocations: 288.1 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.01564, allocations: 29.7 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.01576, allocations: 220 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.01587, allocations: 115 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.97e-05/0.01595, allocations: 51.34 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.0161, allocations: 0.5117 MB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.417e-05/0.01618, allocations: 39.83 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.01628, allocations: 73.08 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.01646, allocations: 121 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01646, allocations: 0 / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000982/0.01744, allocations: 425.5 kB / 386.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.01747, allocations: 6.188 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.01748, allocations: 7.969 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.0191, allocations: 474.2 kB / 386.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.01929, allocations: 19.98 kB / 386.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005339/0.02463, allocations: 7.643 MB / 394.4 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.02475, allocations: 23.84 kB / 394.4 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.02476, allocations: 8 kB / 394.4 MB, free: 1.723 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.0001147/0.02488, allocations: 176.5 kB / 394.6 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.02494, allocations: 39.81 kB / 394.6 MB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009364/0.02587, allocations: 435.7 kB / 395 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.02588, allocations: 4 kB / 395.1 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.02588, allocations: 0 / 395.1 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.02588, allocations: 4 kB / 395.1 MB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.02616, allocations: 216.9 kB / 395.3 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.02617, allocations: 0 / 395.3 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.02623, allocations: 19.97 kB / 395.3 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001484/0.02772, allocations: 470.4 kB / 395.7 MB, free: 312 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.02773, allocations: 8 kB / 395.8 MB, free: 304 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005201/0.03293, allocations: 7.692 MB / 403.4 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.03294, allocations: 4 kB / 403.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009825/0.03392, allocations: 0.5642 MB / 404 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.03395, allocations: 31.75 kB / 404 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.03398, allocations: 7.938 kB / 404.1 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.0341, allocations: 11.98 kB / 404.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.03421, allocations: 31.94 kB / 404.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.03422, allocations: 8 kB / 404.1 MB, free: 7.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.03433, allocations: 189.1 kB / 404.3 MB, free: 7.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03433, allocations: 4 kB / 404.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00047/0.0348, allocations: 119.9 kB / 404.4 MB, free: 7.148 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.0001178/0.03492, allocations: 99.19 kB / 404.5 MB, free: 7.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008632/0.03578, allocations: 0.8658 MB / 405.4 MB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.03579, allocations: 7.938 kB / 405.4 MB, free: 6.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008129/0.0366, allocations: 0.9091 MB / 406.3 MB, free: 5.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.03692, allocations: 24.48 kB / 406.3 MB, free: 5.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.03794, allocations: 0.5258 MB / 406.8 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.03804, allocations: 108.6 kB / 406.9 MB, free: 4.395 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.204e-05/0.0381, allocations: 9.953 kB / 407 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.177e-05/0.03819, allocations: 86.19 kB / 407 MB, free: 4.301 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.03819, allocations: 0 / 407 MB, free: 4.301 MB / 378.7 MB Notification: Performance of Templates: time 0.01563/0.05383, allocations: 9.211 MB / 416.3 MB, free: 11.13 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=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.7741639581508934]