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.001012/0.001012, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001058/0.001058, allocations: 161 kB / 24.56 MB, free: 16 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.091/1.091, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.3638/0.3638, allocations: 32.81 MB / 294.3 MB, free: 1.277 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 3.066e-06/3.066e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.108e-05/4.414e-05, allocations: 2.312 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.0061/0.006144, allocations: 3.027 MB / 379 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.008292, allocations: 0.7673 MB / 379.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/0.008577, allocations: 7.938 kB / 379.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.008825, allocations: 51.45 kB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.009145, allocations: 111 kB / 380 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.009665, allocations: 131.6 kB / 380.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000723/0.01039, allocations: 478.5 kB / 380.6 MB, free: 88 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003568/0.01074, allocations: 108.5 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006092/0.01135, allocations: 271.4 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.0116, allocations: 159.5 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.208e-05/0.01166, allocations: 36 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.01176, allocations: 44 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.971e-05/0.01184, allocations: 95.64 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.01198, allocations: 139.6 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.0125, allocations: 314.8 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.01251, allocations: 0 / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.01251, allocations: 4 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.01253, allocations: 0 / 381.7 MB, free: 14.93 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.001325/0.01386, allocations: 0.73 MB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.01391, allocations: 15.98 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002987/0.01421, allocations: 92.64 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.01464, allocations: 232 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.01468, allocations: 33.31 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.01473, allocations: 44.38 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.01514, allocations: 267.8 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.01516, allocations: 4.172 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.01519, allocations: 24.31 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.01521, allocations: 11.94 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002626/0.01547, allocations: 165.9 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.01702, allocations: 1.152 MB / 384.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.01732, allocations: 181.8 kB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.01748, allocations: 100.2 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.01751, allocations: 4.281 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.01754, allocations: 37.67 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.544e-06/0.01755, allocations: 0 / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004862/0.01803, allocations: 267.5 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.01809, allocations: 63.28 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.01831, allocations: 276.2 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.01834, allocations: 33.7 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.01847, allocations: 255.3 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.223e-05/0.01855, allocations: 122.9 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.01864, allocations: 75.84 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.0188, allocations: 0.5079 MB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-05/0.01889, allocations: 48.97 kB / 386.4 MB, free: 9.992 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.01904, allocations: 146.8 kB / 386.6 MB, free: 9.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.01928, allocations: 219.2 kB / 386.8 MB, free: 9.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01928, allocations: 0 / 386.8 MB, free: 9.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000349/0.01963, allocations: 282.6 kB / 387 MB, free: 9.285 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.01965, allocations: 12 kB / 387.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01966, allocations: 3.938 kB / 387.1 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.01968, allocations: 4 kB / 387.1 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.01997, allocations: 99.88 kB / 387.2 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.01998, allocations: 7.984 kB / 387.2 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.02009, allocations: 31.78 kB / 387.2 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.02011, allocations: 12 kB / 387.2 MB, free: 9.117 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.0001178/0.02023, allocations: 184.4 kB / 387.4 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.02028, allocations: 39.81 kB / 387.4 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.02064, allocations: 249.7 kB / 387.7 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.02064, allocations: 4 kB / 387.7 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.02065, allocations: 3.984 kB / 387.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.02065, allocations: 0 / 387.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.02093, allocations: 272.3 kB / 387.9 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.02093, allocations: 0 / 387.9 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.02116, allocations: 87.89 kB / 388 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.02117, allocations: 3.938 kB / 388 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.02118, allocations: 7.984 kB / 388 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.02119, allocations: 11.94 kB / 388.1 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02119, allocations: 0 / 388.1 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.02166, allocations: 435.5 kB / 388.5 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.61e-05/0.02174, allocations: 43.77 kB / 388.5 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.02177, allocations: 7.984 kB / 388.5 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.812e-05/0.02187, allocations: 15.94 kB / 388.5 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.02196, allocations: 23.94 kB / 388.6 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.02197, allocations: 8 kB / 388.6 MB, free: 7.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.0221, allocations: 197.1 kB / 388.8 MB, free: 7.484 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.0221, allocations: 0 / 388.8 MB, free: 7.484 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002993/0.0224, allocations: 99.73 kB / 388.9 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.0001434/0.02254, allocations: 107.2 kB / 389 MB, free: 7.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.02287, allocations: 188.3 kB / 389.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.02287, allocations: 0 / 389.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.02298, allocations: 95.81 kB / 389.3 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.02325, allocations: 32.48 kB / 389.3 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.02428, allocations: 0.6791 MB / 390 MB, free: 6.246 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.938e-05/0.02435, allocations: 92.81 kB / 390.1 MB, free: 6.137 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.02446, allocations: 30.95 kB / 390.1 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.02454, allocations: 28.48 kB / 390.1 MB, free: 6.078 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/0.02454, allocations: 7.938 kB / 390.1 MB, free: 6.07 MB / 362.7 MB Notification: Performance of Templates: time 0.005454/0.02999, allocations: 2.57 MB / 392.7 MB, free: 3.539 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] 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","",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.669040917418897]