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.0009147/0.0009147, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001012/0.001012, allocations: 169.9 kB / 24.91 MB, free: 9.191 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 0.9962/0.9962, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2727/0.2727, allocations: 32.8 MB / 294.6 MB, free: 1.195 MB / 266.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.373e-06/1.373e-06, allocations: 0 / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.514e-05, allocations: 5.297 kB / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004209/0.004235, allocations: 2.53 MB / 325.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.005904, allocations: 0.8307 MB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.006068, allocations: 4 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.006287, allocations: 55.52 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.0066, allocations: 123 kB / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.006885, allocations: 99.77 kB / 326.9 MB, free: 6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.007274, allocations: 363.3 kB / 327.2 MB, free: 5.645 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.007476, allocations: 74.78 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003879/0.007864, allocations: 203.6 kB / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.008043, allocations: 127.6 kB / 327.6 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.666e-05/0.008089, allocations: 28 kB / 327.7 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.608e-05/0.008175, allocations: 32 kB / 327.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.008227, allocations: 67.73 kB / 327.8 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.857e-05/0.008326, allocations: 107.7 kB / 327.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.00865, allocations: 247 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.008654, allocations: 0 / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.008656, allocations: 0 / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.008662, allocations: 0 / 328.1 MB, free: 4.777 MB / 298.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.0007986/0.009461, allocations: 0.5399 MB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.009507, allocations: 8.031 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.009706, allocations: 56.89 kB / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.00996, allocations: 184.8 kB / 328.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.009982, allocations: 20.88 kB / 328.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.01001, allocations: 24.38 kB / 328.9 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.0103, allocations: 185.2 kB / 329.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.01031, allocations: 192 / 329.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.01033, allocations: 8.375 kB / 329.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.01034, allocations: 15.88 kB / 329.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.0105, allocations: 75.45 kB / 329.2 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009932/0.01149, allocations: 0.5471 MB / 329.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.01174, allocations: 158.4 kB / 329.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.01184, allocations: 64.83 kB / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.01187, allocations: 8 kB / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.0119, allocations: 38.55 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.185e-06/0.0119, allocations: 0 / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.002492/0.01439, allocations: 0.7458 MB / 330.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.01443, allocations: 55.41 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.0146, allocations: 217 kB / 331 MB, free: 1.695 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.01461, allocations: 29.7 kB / 331.1 MB, free: 1.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.283e-05/0.0147, allocations: 149.2 kB / 331.2 MB, free: 1.512 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.146e-05/0.01477, allocations: 111 kB / 331.3 MB, free: 1.402 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.461e-05/0.01485, allocations: 53.69 kB / 331.4 MB, free: 1.344 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.01496, allocations: 346.7 kB / 331.7 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.01502, allocations: 27.98 kB / 331.7 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.44e-05/0.0151, allocations: 59.89 kB / 331.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.01528, allocations: 107.3 kB / 331.9 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01529, allocations: 0 / 331.9 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008938/0.01618, allocations: 370.3 kB / 332.3 MB, free: 420 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.0162, allocations: 11.98 kB / 332.3 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.01621, allocations: 0 / 332.3 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/0.01787, allocations: 458.9 kB / 332.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.018, allocations: 27.97 kB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004732/0.02273, allocations: 5.339 MB / 338.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.02285, allocations: 27.83 kB / 338.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.02287, allocations: 12.14 kB / 338.1 MB, free: 10.19 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 0.0001331/0.023, allocations: 129.7 kB / 338.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.02306, allocations: 31.91 kB / 338.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008652/0.02392, allocations: 388.4 kB / 338.7 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.02393, allocations: 4 kB / 338.7 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.02393, allocations: 4 kB / 338.7 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.02393, allocations: 0 / 338.7 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.02421, allocations: 177.7 kB / 338.9 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.02421, allocations: 3.938 kB / 338.9 MB, free: 9.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.262e-05/0.02428, allocations: 23.91 kB / 338.9 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.02571, allocations: 455 kB / 339.3 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.02573, allocations: 7.984 kB / 339.3 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004466/0.0302, allocations: 5.415 MB / 344.8 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.0302, allocations: 0 / 344.8 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008657/0.03106, allocations: 458.3 kB / 345.2 MB, free: 2.684 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.0311, allocations: 23.8 kB / 345.2 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.03112, allocations: 8 kB / 345.2 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.03124, allocations: 8 kB / 345.2 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.03134, allocations: 39.92 kB / 345.3 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.03136, allocations: 7.938 kB / 345.3 MB, free: 2.598 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.625e-05/0.03143, allocations: 70.78 kB / 345.4 MB, free: 2.527 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03143, allocations: 0 / 345.4 MB, free: 2.527 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004916/0.03192, allocations: 127.8 kB / 345.5 MB, free: 2.402 MB / 314.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.0001288/0.03205, allocations: 88.36 kB / 345.6 MB, free: 2.309 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006325/0.03268, allocations: 0.624 MB / 346.2 MB, free: 1.629 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.03269, allocations: 4 kB / 346.2 MB, free: 1.625 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000756/0.03345, allocations: 0.6985 MB / 346.9 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.03369, allocations: 28.22 kB / 346.9 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.03473, allocations: 0.5245 MB / 347.4 MB, free: 296 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.03483, allocations: 108.4 kB / 347.5 MB, free: 168 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.937e-05/0.03489, allocations: 13.94 kB / 347.6 MB, free: 152 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.661e-05/0.03498, allocations: 71.36 kB / 347.6 MB, free: 80 kB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.03498, allocations: 0 / 347.6 MB, free: 80 kB / 314.7 MB Notification: Performance of Templates: time 0.01449/0.04947, allocations: 9.093 MB / 356.7 MB, free: 7.047 MB / 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 -s gbode -gbm=radauIIA3 -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.384129556827247]