Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.001441/0.001441, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001492/0.001492, allocations: 161.7 kB / 24.27 MB, free: 172 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.658/1.658, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3588/0.3588, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.104e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004591/0.004622, allocations: 2.806 MB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.006466, allocations: 0.7556 MB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.006619, allocations: 4 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.006835, allocations: 59.38 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.007069, allocations: 103 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.007421, allocations: 119.8 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005834/0.008005, allocations: 490.2 kB / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.008257, allocations: 108.5 kB / 381.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004375/0.008695, allocations: 279.3 kB / 382 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.008952, allocations: 159.5 kB / 382.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.987e-05/0.009022, allocations: 40 kB / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.601e-05/0.009118, allocations: 40 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.581e-05/0.009214, allocations: 91.64 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.009385, allocations: 135.7 kB / 382.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006219/0.01001, allocations: 482.4 kB / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.01001, allocations: 7.984 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01001, allocations: 0 / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.01002, allocations: 0 / 382.9 MB, free: 13.3 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00153/0.01155, allocations: 0.634 MB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.01159, allocations: 12.03 kB / 383.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/0.01192, allocations: 88.64 kB / 383.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.01238, allocations: 237.1 kB / 383.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.01242, allocations: 29.38 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-05/0.0125, allocations: 40.33 kB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007392/0.01324, allocations: 343 kB / 384.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.01326, allocations: 192 / 384.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.979e-05/0.0133, allocations: 12.38 kB / 384.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.01332, allocations: 15.94 kB / 384.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007082/0.01403, allocations: 299.8 kB / 384.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.01644, allocations: 1.16 MB / 385.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.01703, allocations: 259.5 kB / 386 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.01735, allocations: 137.4 kB / 386.1 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.01738, allocations: 4.281 kB / 386.2 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.01744, allocations: 42.78 kB / 386.2 MB, free: 9.859 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 4.328e-06/0.01744, allocations: 4 kB / 386.2 MB, free: 9.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009652/0.01841, allocations: 383.5 kB / 386.6 MB, free: 9.477 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.01846, allocations: 63.34 kB / 386.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.01875, allocations: 229.7 kB / 386.9 MB, free: 9.172 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.01878, allocations: 29.7 kB / 386.9 MB, free: 9.137 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.01896, allocations: 216.5 kB / 387.1 MB, free: 8.922 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.01908, allocations: 119 kB / 387.2 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.01921, allocations: 70.14 kB / 387.3 MB, free: 8.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004303/0.01964, allocations: 342.8 kB / 387.6 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.01992, allocations: 108.9 kB / 387.7 MB, free: 8.281 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.02026, allocations: 176.1 kB / 387.9 MB, free: 8.086 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.02088, allocations: 284.7 kB / 388.2 MB, free: 7.785 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02088, allocations: 0 / 388.2 MB, free: 7.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007977/0.02168, allocations: 378.4 kB / 388.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.0217, allocations: 8 kB / 388.6 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.02171, allocations: 3.938 kB / 388.6 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.02173, allocations: 8.219 kB / 388.6 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005433/0.02228, allocations: 107.8 kB / 388.7 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.02229, allocations: 4 kB / 388.7 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.02258, allocations: 43.77 kB / 388.7 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.02261, allocations: 12 kB / 388.7 MB, free: 7.227 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.02279, allocations: 145.8 kB / 388.9 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.614e-05/0.02288, allocations: 43.8 kB / 388.9 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007754/0.02366, allocations: 333.7 kB / 389.2 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.02366, allocations: 4 kB / 389.2 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.02367, allocations: 0 / 389.2 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.02367, allocations: 0 / 389.2 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.02413, allocations: 281 kB / 389.5 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.02413, allocations: 0 / 389.5 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.02458, allocations: 79.88 kB / 389.6 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.02458, allocations: 4 kB / 389.6 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.02461, allocations: 8 kB / 389.6 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/0.02462, allocations: 15.92 kB / 389.6 MB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.02462, allocations: 0 / 389.6 MB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.02564, allocations: 0.5148 MB / 390.1 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.02576, allocations: 43.75 kB / 390.2 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.0258, allocations: 8 kB / 390.2 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.02604, allocations: 19.86 kB / 390.2 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.02611, allocations: 27.89 kB / 390.2 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.02613, allocations: 8 kB / 390.2 MB, free: 5.648 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002076/0.02634, allocations: 173.3 kB / 390.4 MB, free: 5.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02634, allocations: 0 / 390.4 MB, free: 5.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003886/0.02673, allocations: 95.78 kB / 390.5 MB, free: 5.387 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001397/0.02687, allocations: 107.2 kB / 390.6 MB, free: 5.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006267/0.0275, allocations: 255.6 kB / 390.9 MB, free: 5.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.0275, allocations: 448 / 390.9 MB, free: 5.023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.02779, allocations: 131.8 kB / 391 MB, free: 4.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.02814, allocations: 32.42 kB / 391 MB, free: 4.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.02963, allocations: 0.7008 MB / 391.7 MB, free: 4.133 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.02984, allocations: 181.3 kB / 391.9 MB, free: 3.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001711/0.03001, allocations: 30.95 kB / 391.9 MB, free: 3.902 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.03013, allocations: 32.48 kB / 392 MB, free: 3.871 MB / 362.7 MB Notification: Performance of SimCode: time 4.2e-07/0.03013, allocations: 0 / 392 MB, free: 3.871 MB / 362.7 MB Notification: Performance of Templates: time 0.007372/0.0375, allocations: 2.464 MB / 394.4 MB, free: 1.449 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.057394192088395]