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.001055/0.001055, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001133/0.001133, 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.073/1.073, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2925/0.2925, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] 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 2.084e-06/2.084e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.428e-05, allocations: 6.312 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003827/0.003862, allocations: 3.02 MB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004581/0.008442, allocations: 0.7672 MB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.008659, allocations: 8 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.008852, allocations: 59.38 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.009079, allocations: 111 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.009446, allocations: 119.8 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005304/0.009976, allocations: 490.4 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.01022, allocations: 100.5 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.01067, allocations: 279.4 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003237/0.01391, allocations: 155.5 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.904e-05/0.01397, allocations: 40 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.01406, allocations: 40 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.01413, allocations: 95.64 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.01426, allocations: 139.7 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.01468, allocations: 314.8 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.01468, allocations: 0 / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01468, allocations: 0 / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.01469, allocations: 0 / 383.7 MB, free: 12.92 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.001157/0.01585, allocations: 0.7339 MB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.01589, allocations: 12.03 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.01615, allocations: 92.64 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.0165, allocations: 235.9 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.01653, allocations: 29.38 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.01659, allocations: 36.38 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/0.02008, allocations: 271.8 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.02009, allocations: 192 / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.02013, allocations: 16.38 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.02014, allocations: 15.94 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.02047, allocations: 169.8 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.02219, allocations: 1.152 MB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.02252, allocations: 187.5 kB / 386.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003176/0.0257, allocations: 96.16 kB / 386.7 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.02574, allocations: 8.281 kB / 386.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.02576, allocations: 37.67 kB / 386.8 MB, free: 9.676 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.495e-06/0.02577, allocations: 0 / 386.8 MB, free: 9.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.000512/0.02628, allocations: 259.6 kB / 387 MB, free: 9.418 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.02631, allocations: 63.34 kB / 387.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.02653, allocations: 284.2 kB / 387.4 MB, free: 9.051 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.02655, allocations: 29.7 kB / 387.4 MB, free: 9.016 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.02668, allocations: 259.3 kB / 387.7 MB, free: 8.758 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.822e-05/0.02676, allocations: 122.9 kB / 387.8 MB, free: 8.637 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.02687, allocations: 71.84 kB / 387.9 MB, free: 8.559 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.02701, allocations: 0.504 MB / 388.4 MB, free: 8.043 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.02713, allocations: 64.83 kB / 388.4 MB, free: 7.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.0273, allocations: 142.8 kB / 388.6 MB, free: 7.809 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.0276, allocations: 223.2 kB / 388.8 MB, free: 7.559 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.0276, allocations: 0 / 388.8 MB, free: 7.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000427/0.02803, allocations: 278.5 kB / 389.1 MB, free: 7.281 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.02805, allocations: 4 kB / 389.1 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.02806, allocations: 12.09 kB / 389.1 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.02808, allocations: 8 kB / 389.1 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.02843, allocations: 95.88 kB / 389.2 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.02844, allocations: 4 kB / 389.2 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003173/0.03161, allocations: 39.77 kB / 389.2 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.03164, allocations: 12 kB / 389.2 MB, free: 7.109 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.0001274/0.03176, allocations: 180.5 kB / 389.4 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.03183, allocations: 43.75 kB / 389.4 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.03223, allocations: 241.7 kB / 389.7 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.03223, allocations: 8 kB / 389.7 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.03224, allocations: 0 / 389.7 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.03224, allocations: 7.984 kB / 389.7 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.03257, allocations: 276.3 kB / 390 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.03257, allocations: 0 / 390 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.03286, allocations: 75.89 kB / 390 MB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.03286, allocations: 4 kB / 390 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.03288, allocations: 8 kB / 390.1 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.03289, allocations: 3.938 kB / 390.1 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.03289, allocations: 7.984 kB / 390.1 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005283/0.03342, allocations: 439.5 kB / 390.5 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/0.03352, allocations: 43.77 kB / 390.5 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.03355, allocations: 11.98 kB / 390.5 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.03368, allocations: 19.86 kB / 390.6 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.03375, allocations: 23.95 kB / 390.6 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.03376, allocations: 8 kB / 390.6 MB, free: 5.664 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.03389, allocations: 193.1 kB / 390.8 MB, free: 5.477 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03389, allocations: 0 / 390.8 MB, free: 5.477 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000359/0.03425, allocations: 103.7 kB / 390.9 MB, free: 5.375 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.0001105/0.03436, allocations: 103.2 kB / 391 MB, free: 5.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003369/0.03773, allocations: 188.3 kB / 391.2 MB, free: 5.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.03773, allocations: 0 / 391.2 MB, free: 5.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.03787, allocations: 99.81 kB / 391.3 MB, free: 4.977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.03821, allocations: 24.48 kB / 391.3 MB, free: 4.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.03939, allocations: 0.6752 MB / 392 MB, free: 4.246 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.951e-05/0.03947, allocations: 104.8 kB / 392.1 MB, free: 4.125 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.0396, allocations: 30.95 kB / 392.1 MB, free: 4.098 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.03969, allocations: 24.5 kB / 392.1 MB, free: 4.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.223e-06/0.03969, allocations: 0 / 392.1 MB, free: 4.07 MB / 362.7 MB Notification: Performance of Templates: time 0.01205/0.05174, allocations: 2.484 MB / 394.6 MB, free: 1.625 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=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","",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.4771424271166325]