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.001853/0.001853, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00202/0.00202, allocations: 165.3 kB / 24.27 MB, free: 156 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.597/1.597, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3595/0.3595, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.833e-06/1.833e-06, allocations: 0 / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.442e-05/3.625e-05, allocations: 9.766 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004372/0.004408, allocations: 2.479 MB / 377.7 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.00642, allocations: 0.81 MB / 378.6 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.006568, allocations: 4 kB / 378.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.006823, allocations: 55.5 kB / 378.6 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.007163, allocations: 115.1 kB / 378.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.007465, allocations: 103.8 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.007927, allocations: 362.6 kB / 379.2 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.008107, allocations: 68.69 kB / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003777/0.008484, allocations: 207.5 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.008704, allocations: 115.7 kB / 379.6 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.554e-05/0.008769, allocations: 32 kB / 379.6 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.008861, allocations: 36 kB / 379.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.043e-05/0.008941, allocations: 67.73 kB / 379.7 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.009083, allocations: 103.7 kB / 379.8 MB, free: 436 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.009619, allocations: 394.7 kB / 380.2 MB, free: 40 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.009623, allocations: 4 kB / 380.2 MB, free: 36 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.009625, allocations: 0 / 380.2 MB, free: 36 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.009632, allocations: 0 / 380.2 MB, free: 36 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.00132/0.01095, allocations: 0.6709 MB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.01099, allocations: 12.03 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.0112, allocations: 56.7 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.01159, allocations: 219.5 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.01162, allocations: 20.88 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.01166, allocations: 24.38 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.0122, allocations: 240.6 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.01221, allocations: 4.172 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.01225, allocations: 12.38 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.01226, allocations: 7.938 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005266/0.01278, allocations: 217.8 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.01445, allocations: 0.8357 MB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006191/0.01507, allocations: 303.2 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.01535, allocations: 123.7 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.781e-05/0.01539, allocations: 8 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.01543, allocations: 37.38 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.392e-06/0.01543, allocations: 0 / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.004987/0.02042, allocations: 0.9916 MB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.02049, allocations: 67.28 kB / 384 MB, free: 12.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.02087, allocations: 320.3 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.0209, allocations: 33.7 kB / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.02109, allocations: 219.4 kB / 384.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.02121, allocations: 115 kB / 384.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.02134, allocations: 59.36 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003268/0.02166, allocations: 0.5274 MB / 385.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.02189, allocations: 79.97 kB / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.02239, allocations: 129.1 kB / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/0.02288, allocations: 232.9 kB / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.02289, allocations: 4 kB / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001973/0.02486, allocations: 0.5562 MB / 386.3 MB, free: 9.691 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.02489, allocations: 13.81 kB / 386.3 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.0249, allocations: 0 / 386.3 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003098/0.02799, allocations: 0.5022 MB / 386.8 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.02818, allocations: 23.98 kB / 386.8 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.03881, allocations: 8.453 MB / 395.2 MB, free: 196 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.03908, allocations: 19.84 kB / 395.3 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.03911, allocations: 8 kB / 395.3 MB, free: 168 kB / 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.000291/0.0394, allocations: 192.5 kB / 395.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.03953, allocations: 43.8 kB / 395.5 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.04158, allocations: 0.5544 MB / 396.1 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.04159, allocations: 4 kB / 396.1 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.04159, allocations: 0 / 396.1 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.0416, allocations: 7.984 kB / 396.1 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.0421, allocations: 288.4 kB / 396.4 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.0421, allocations: 192 / 396.4 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.04222, allocations: 19.98 kB / 396.4 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002941/0.04516, allocations: 0.4983 MB / 396.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.04519, allocations: 7.938 kB / 396.9 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.05588, allocations: 8.501 MB / 405.4 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.05588, allocations: 320 / 405.4 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.05799, allocations: 0.6971 MB / 406.1 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.05805, allocations: 27.75 kB / 406.1 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.05809, allocations: 15.94 kB / 406.1 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.05829, allocations: 8 kB / 406.1 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.05844, allocations: 39.92 kB / 406.2 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.05846, allocations: 4 kB / 406.2 MB, free: 4.648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002531/0.05871, allocations: 225.1 kB / 406.4 MB, free: 4.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05871, allocations: 4 kB / 406.4 MB, free: 4.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005736/0.05929, allocations: 119.9 kB / 406.5 MB, free: 4.309 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.0001689/0.05946, allocations: 99.19 kB / 406.6 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.06103, allocations: 0.9791 MB / 407.6 MB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.06103, allocations: 0 / 407.6 MB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001623/0.06266, allocations: 0.9716 MB / 408.6 MB, free: 2.098 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.06301, allocations: 32.42 kB / 408.6 MB, free: 2.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.06428, allocations: 0.5417 MB / 409.1 MB, free: 1.488 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.0645, allocations: 175.7 kB / 409.3 MB, free: 1.297 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.805e-05/0.06457, allocations: 13.95 kB / 409.3 MB, free: 1.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.06462, allocations: 16.5 kB / 409.3 MB, free: 1.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.512e-06/0.06462, allocations: 0 / 409.3 MB, free: 1.27 MB / 378.7 MB Notification: Performance of Templates: time 0.01766/0.08228, allocations: 8.837 MB / 418.2 MB, free: 8.484 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","/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.6227785650407895]