Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008305/0.0008305, 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.0009043/0.0009043, allocations: 170.3 kB / 24.91 MB, free: 8.762 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.9929/0.9929, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.258/0.258, allocations: 34.26 MB / 296.1 MB, free: 0.6875 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.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.548e-05, allocations: 4.031 kB / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002576/0.002592, allocations: 2.545 MB / 327.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.00367, allocations: 0.8275 MB / 328.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.003777, allocations: 0 / 328.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.003938, allocations: 63.45 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.004133, allocations: 111.2 kB / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.004316, allocations: 99.73 kB / 328.9 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.004562, allocations: 366.6 kB / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.004691, allocations: 74.78 kB / 329.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.004934, allocations: 203.6 kB / 329.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.005064, allocations: 123.6 kB / 329.7 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.005098, allocations: 36 kB / 329.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.72e-05/0.005165, allocations: 36 kB / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.005207, allocations: 63.75 kB / 329.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.009e-05/0.005277, allocations: 111.7 kB / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.005504, allocations: 239.1 kB / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.005506, allocations: 0 / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005506, allocations: 0 / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.00551, allocations: 0 / 330.1 MB, free: 2.812 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.0006043/0.006114, allocations: 0.54 MB / 330.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.006143, allocations: 12.03 kB / 330.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.006245, allocations: 48.91 kB / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.006427, allocations: 192.7 kB / 330.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.006441, allocations: 16.88 kB / 331 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.006464, allocations: 24.38 kB / 331 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.006664, allocations: 185.3 kB / 331.2 MB, free: 1.746 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.006672, allocations: 192 / 331.2 MB, free: 1.746 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.006687, allocations: 8.375 kB / 331.2 MB, free: 1.738 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.006693, allocations: 7.938 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.006797, allocations: 71.47 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007215/0.007518, allocations: 0.5549 MB / 331.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.007702, allocations: 162.3 kB / 332 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.427e-05/0.007776, allocations: 68.81 kB / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.007799, allocations: 4 kB / 332 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.007819, allocations: 42.5 kB / 332.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.193e-06/0.00782, allocations: 0 / 332.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001703/0.009523, allocations: 0.742 MB / 332.8 MB, free: 24 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.009559, allocations: 55.41 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.009687, allocations: 217 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.009703, allocations: 33.7 kB / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.009893, allocations: 141.2 kB / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.009941, allocations: 111 kB / 333.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.01, allocations: 53.69 kB / 333.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.057e-05/0.01008, allocations: 346.7 kB / 333.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.214e-05/0.01012, allocations: 27.98 kB / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.01019, allocations: 67.83 kB / 333.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.0103, allocations: 103.3 kB / 333.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01031, allocations: 0 / 333.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006275/0.01093, allocations: 370.3 kB / 334.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.01095, allocations: 4 kB / 334.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01095, allocations: 4.031 kB / 334.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.01204, allocations: 466.9 kB / 334.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.01212, allocations: 23.98 kB / 334.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003496/0.01562, allocations: 5.337 MB / 340.1 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.251e-05/0.0157, allocations: 23.84 kB / 340.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.01571, allocations: 11.98 kB / 340.2 MB, free: 8.227 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 7.905e-05/0.01579, allocations: 125.9 kB / 340.3 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.01583, allocations: 27.92 kB / 340.3 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006094/0.01644, allocations: 392.4 kB / 340.7 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01644, allocations: 11.97 kB / 340.7 MB, free: 7.648 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.51e-07/0.01644, allocations: 0 / 340.7 MB, free: 7.648 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01644, allocations: 4 kB / 340.7 MB, free: 7.645 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.01663, allocations: 173.7 kB / 340.9 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01663, allocations: 0 / 340.9 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.384e-05/0.01668, allocations: 27.86 kB / 340.9 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.01774, allocations: 451 kB / 341.3 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01775, allocations: 4 kB / 341.4 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003244/0.02099, allocations: 5.415 MB / 346.8 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.02099, allocations: 3.938 kB / 346.8 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006111/0.02161, allocations: 454.3 kB / 347.2 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.02162, allocations: 23.8 kB / 347.2 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.02164, allocations: 11.98 kB / 347.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.02172, allocations: 12 kB / 347.3 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.02178, allocations: 35.88 kB / 347.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.02179, allocations: 7.938 kB / 347.3 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.023e-05/0.02184, allocations: 78.77 kB / 347.4 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02184, allocations: 0 / 347.4 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002978/0.02214, allocations: 127.8 kB / 347.5 MB, free: 448 kB / 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 7.818e-05/0.02222, allocations: 76.42 kB / 347.6 MB, free: 364 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004502/0.02267, allocations: 0.6357 MB / 348.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.02267, allocations: 0 / 348.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.02318, allocations: 0.6906 MB / 348.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.02332, allocations: 33.73 kB / 348.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/0.02397, allocations: 0.5261 MB / 349.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.698e-05/0.02402, allocations: 104.5 kB / 349.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.933e-05/0.02406, allocations: 13.94 kB / 349.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.02413, allocations: 59.38 kB / 349.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.02413, allocations: 0 / 349.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of Templates: time 0.01009/0.03422, allocations: 9.101 MB / 358.7 MB, free: 5.086 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.208560636267066]