Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001533/0.001533, 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.001571/0.001571, 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.515/1.515, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.4447/0.4447, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.203e-05, allocations: 5.266 kB / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.00482/0.004852, allocations: 2.813 MB / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.006391, allocations: 0.7401 MB / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.006544, allocations: 7.938 kB / 378.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.006736, allocations: 59.38 kB / 378.9 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.006997, allocations: 115 kB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.007328, allocations: 115.8 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005629/0.007891, allocations: 482.3 kB / 379.6 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.008158, allocations: 112.4 kB / 379.7 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004334/0.008591, allocations: 275.4 kB / 379.9 MB, free: 264 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.008847, allocations: 151.5 kB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.158e-05/0.008929, allocations: 40 kB / 380.1 MB, free: 72 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.009029, allocations: 44 kB / 380.2 MB, free: 28 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.009144, allocations: 99.64 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.009319, allocations: 135.6 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006152/0.009934, allocations: 490.3 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.009936, allocations: 3.938 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.009937, allocations: 4 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.009944, allocations: 0 / 380.9 MB, free: 15.31 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.00149/0.01143, allocations: 0.6301 MB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.01147, allocations: 15.98 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.0118, allocations: 88.64 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.01224, allocations: 232.9 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.01228, allocations: 33.38 kB / 381.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.703e-05/0.01236, allocations: 40.33 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000737/0.0131, allocations: 347 kB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.01311, allocations: 4.125 kB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.01316, allocations: 16.38 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.01317, allocations: 11.94 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006983/0.01387, allocations: 299.8 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.01624, allocations: 1.153 MB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/0.01683, allocations: 265.2 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.01715, allocations: 145.3 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.01718, allocations: 4.281 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.01722, allocations: 38.84 kB / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.01722, allocations: 0 / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009703/0.01819, allocations: 387.4 kB / 384.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.01825, allocations: 63.34 kB / 384.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/0.01873, allocations: 229.7 kB / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.01876, allocations: 29.7 kB / 384.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.01894, allocations: 216.5 kB / 385.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.01906, allocations: 123 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.0192, allocations: 78.12 kB / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.01939, allocations: 330.8 kB / 385.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.01965, allocations: 105 kB / 385.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.01999, allocations: 172.1 kB / 385.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006015/0.02059, allocations: 288.6 kB / 386.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.02059, allocations: 4 kB / 386.2 MB, free: 9.777 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007914/0.02138, allocations: 382.5 kB / 386.5 MB, free: 9.398 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.0214, allocations: 4 kB / 386.5 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.02141, allocations: 7.938 kB / 386.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.02143, allocations: 0 / 386.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/0.02196, allocations: 103.9 kB / 386.7 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.02197, allocations: 4 kB / 386.7 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.02225, allocations: 43.7 kB / 386.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.02228, allocations: 12 kB / 386.7 MB, free: 9.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.0001821/0.02247, allocations: 149.8 kB / 386.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.02255, allocations: 43.8 kB / 386.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007608/0.02331, allocations: 325.7 kB / 387.2 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.02332, allocations: 4 kB / 387.2 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.02332, allocations: 0 / 387.2 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.02333, allocations: 4 kB / 387.2 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.02378, allocations: 281 kB / 387.5 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.02378, allocations: 0 / 387.5 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/0.02423, allocations: 87.88 kB / 387.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.02423, allocations: 0 / 387.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.02426, allocations: 12 kB / 387.6 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.02427, allocations: 7.938 kB / 387.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02427, allocations: 0 / 387.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.02532, allocations: 0.5186 MB / 388.1 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.02544, allocations: 47.75 kB / 388.2 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.02548, allocations: 4 kB / 388.2 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.02574, allocations: 23.97 kB / 388.2 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.02583, allocations: 23.95 kB / 388.2 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.02585, allocations: 8 kB / 388.2 MB, free: 7.645 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002023/0.02605, allocations: 169.2 kB / 388.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02605, allocations: 0 / 388.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004378/0.02649, allocations: 95.78 kB / 388.5 MB, free: 7.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.0001518/0.02664, allocations: 103.2 kB / 388.6 MB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006304/0.02727, allocations: 259.6 kB / 388.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.02727, allocations: 0 / 388.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.02756, allocations: 127.8 kB / 389 MB, free: 6.898 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.02791, allocations: 28.48 kB / 389 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.02935, allocations: 0.7012 MB / 389.7 MB, free: 6.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.02958, allocations: 181.3 kB / 389.9 MB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00018/0.02976, allocations: 38.89 kB / 389.9 MB, free: 5.902 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.02986, allocations: 28.48 kB / 389.9 MB, free: 5.875 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02986, allocations: 0 / 389.9 MB, free: 5.875 MB / 362.7 MB Notification: Performance of Templates: time 0.007314/0.03717, allocations: 2.463 MB / 392.4 MB, free: 3.457 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.966140827978961]