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.00252/0.00252, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002907/0.002907, allocations: 161.6 kB / 24.27 MB, free: 160 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.602/1.602, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.368/0.368, 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.372e-06/1.372e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.878e-05/4.016e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004929/0.004969, allocations: 2.985 MB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.006618, allocations: 0.7556 MB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.00677, allocations: 7.938 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.006982, allocations: 63.38 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.007228, allocations: 107 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.007581, allocations: 115.8 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005927/0.008174, allocations: 486.3 kB / 381.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.008418, allocations: 112.4 kB / 381.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00046/0.008878, allocations: 279.4 kB / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.009171, allocations: 159.5 kB / 382.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.682e-05/0.009248, allocations: 40 kB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.009359, allocations: 40 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.009467, allocations: 95.64 kB / 382.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.009651, allocations: 139.6 kB / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006724/0.01032, allocations: 486.4 kB / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01033, allocations: 4 kB / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01033, allocations: 0 / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.515e-06/0.01034, allocations: 0 / 383.1 MB, free: 13.11 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.001602/0.01194, allocations: 0.7492 MB / 383.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.01197, allocations: 12.03 kB / 383.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003213/0.01229, allocations: 88.64 kB / 384 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006015/0.0129, allocations: 239.9 kB / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.01293, allocations: 29.38 kB / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.013, allocations: 44.33 kB / 384.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006517/0.01365, allocations: 327 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.01367, allocations: 192 / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.01371, allocations: 16.38 kB / 384.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.01373, allocations: 11.94 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006674/0.01439, allocations: 287.8 kB / 384.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.01707, allocations: 1.288 MB / 386.2 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/0.01762, allocations: 261.9 kB / 386.4 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.01792, allocations: 140.1 kB / 386.6 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.01797, allocations: 8.281 kB / 386.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.01801, allocations: 41.67 kB / 386.6 MB, free: 9.418 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.373e-06/0.01801, allocations: 0 / 386.6 MB, free: 9.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009138/0.01892, allocations: 363.5 kB / 387 MB, free: 9.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.01899, allocations: 59.34 kB / 387 MB, free: 8.988 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.01936, allocations: 316.2 kB / 387.3 MB, free: 8.664 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.0194, allocations: 33.7 kB / 387.4 MB, free: 8.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.01962, allocations: 255.4 kB / 387.6 MB, free: 8.371 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.01977, allocations: 130.9 kB / 387.7 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.01993, allocations: 87.8 kB / 387.8 MB, free: 8.148 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003318/0.02026, allocations: 0.5157 MB / 388.3 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.0205, allocations: 104.9 kB / 388.5 MB, free: 7.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.02084, allocations: 190.8 kB / 388.6 MB, free: 7.301 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005641/0.02141, allocations: 315.2 kB / 388.9 MB, free: 6.961 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.02141, allocations: 0 / 388.9 MB, free: 6.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007068/0.02212, allocations: 354.5 kB / 389.3 MB, free: 6.609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.02214, allocations: 13.97 kB / 389.3 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.02215, allocations: 3.938 kB / 389.3 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.02216, allocations: 7.984 kB / 389.3 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.02268, allocations: 104.1 kB / 389.4 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.02269, allocations: 4 kB / 389.4 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.02295, allocations: 39.73 kB / 389.5 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.02298, allocations: 11.98 kB / 389.5 MB, free: 6.43 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.0002256/0.02321, allocations: 200.5 kB / 389.7 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.067e-05/0.02329, allocations: 39.8 kB / 389.7 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007278/0.02402, allocations: 313.8 kB / 390 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.02402, allocations: 4 kB / 390 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.02403, allocations: 4 kB / 390 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.02403, allocations: 0 / 390 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.02455, allocations: 320.4 kB / 390.3 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.02455, allocations: 0 / 390.3 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.02499, allocations: 83.88 kB / 390.4 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.025, allocations: 4 kB / 390.4 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.02502, allocations: 7.984 kB / 390.4 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.02503, allocations: 7.922 kB / 390.4 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.02503, allocations: 4 kB / 390.4 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009888/0.02602, allocations: 0.5581 MB / 391 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.02615, allocations: 47.72 kB / 391 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.0262, allocations: 8 kB / 391.1 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.02641, allocations: 11.94 kB / 391.1 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.02648, allocations: 19.95 kB / 391.1 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.02651, allocations: 19.92 kB / 391.1 MB, free: 4.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004271/0.02693, allocations: 209.1 kB / 391.3 MB, free: 4.523 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02693, allocations: 0 / 391.3 MB, free: 4.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003798/0.02731, allocations: 99.78 kB / 391.4 MB, free: 4.426 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.00016/0.02747, allocations: 111.2 kB / 391.5 MB, free: 4.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006123/0.02809, allocations: 264.3 kB / 391.8 MB, free: 4.047 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02809, allocations: 0 / 391.8 MB, free: 4.047 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.02837, allocations: 143.8 kB / 391.9 MB, free: 3.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.02872, allocations: 32.48 kB / 391.9 MB, free: 3.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.03022, allocations: 0.6986 MB / 392.6 MB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.03045, allocations: 181.3 kB / 392.8 MB, free: 2.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.03063, allocations: 34.95 kB / 392.9 MB, free: 2.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.03075, allocations: 32.48 kB / 392.9 MB, free: 2.875 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.03075, allocations: 0 / 392.9 MB, free: 2.875 MB / 362.7 MB Notification: Performance of Templates: time 0.007645/0.0384, allocations: 2.481 MB / 395.4 MB, free: 444 kB / 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] 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.051482756971382]