Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 209.4 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.28/0.28, allocations: 46.89 MB / 361.1 MB, free: 4.66 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 75.88 kB / 0.4967 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4304, allocations: 65.99 MB / 0.5612 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004983/0.4354, allocations: 3.048 MB / 0.5642 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.4373, allocations: 0.7895 MB / 0.5649 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.4375, allocations: 4 kB / 0.5649 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.4377, allocations: 63.38 kB / 0.565 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.4379, allocations: 99.05 kB / 0.5651 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.4383, allocations: 119.8 kB / 0.5652 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005383/0.4389, allocations: 466.6 kB / 0.5657 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.4391, allocations: 120 kB / 0.5658 GB, free: 344 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.4394, allocations: 191.3 kB / 0.566 GB, free: 152 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.4398, allocations: 203.1 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.4398, allocations: 40 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.453e-05/0.4399, allocations: 40 kB / 0.5662 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.734e-05/0.44, allocations: 95.66 kB / 0.5663 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.4402, allocations: 202.9 kB / 0.5665 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005641/0.4408, allocations: 474 kB / 0.567 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4408, allocations: 0 / 0.567 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4408, allocations: 8 kB / 0.567 GB, free: 15.11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.4408, allocations: 0 / 0.567 GB, free: 15.11 MB / 414.1 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.001498/0.4423, allocations: 0.7093 MB / 0.5677 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4423, allocations: 12.03 kB / 0.5677 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.4426, allocations: 64.64 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.4431, allocations: 295.2 kB / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.4432, allocations: 29.38 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.021e-05/0.4432, allocations: 36.38 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/0.4439, allocations: 350.7 kB / 0.5684 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.4439, allocations: 0 / 0.5684 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.444, allocations: 16 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.444, allocations: 12 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006504/0.4446, allocations: 299.8 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.447, allocations: 1.341 MB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.4475, allocations: 256.8 kB / 0.5703 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.4478, allocations: 141.4 kB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.4478, allocations: 4.281 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4479, allocations: 34.84 kB / 0.5705 GB, free: 11.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.834e-06/0.4479, allocations: 0 / 0.5705 GB, free: 11.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008957/0.4488, allocations: 379.5 kB / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.4488, allocations: 63.34 kB / 0.5709 GB, free: 10.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.4491, allocations: 258.7 kB / 0.5711 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.4492, allocations: 33.7 kB / 0.5712 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.4493, allocations: 208.3 kB / 0.5714 GB, free: 10.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.4494, allocations: 123 kB / 0.5715 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.4496, allocations: 70.08 kB / 0.5715 GB, free: 10.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4497, allocations: 342.8 kB / 0.5719 GB, free: 9.824 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.45, allocations: 104.8 kB / 0.572 GB, free: 9.723 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.4503, allocations: 171.5 kB / 0.5721 GB, free: 9.527 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.4508, allocations: 292.6 kB / 0.5724 GB, free: 9.219 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4508, allocations: 0 / 0.5724 GB, free: 9.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007419/0.4516, allocations: 378.3 kB / 0.5728 GB, free: 8.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4516, allocations: 8 kB / 0.5728 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4516, allocations: 0 / 0.5728 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.4516, allocations: 7.984 kB / 0.5728 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005239/0.4522, allocations: 99.88 kB / 0.5729 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.4522, allocations: 4 kB / 0.5729 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.4525, allocations: 51.88 kB / 0.5729 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.4525, allocations: 12 kB / 0.5729 GB, free: 8.664 MB / 414.1 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.0002029/0.4527, allocations: 157.6 kB / 0.5731 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.4528, allocations: 31.81 kB / 0.5731 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000705/0.4535, allocations: 321.1 kB / 0.5734 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.4535, allocations: 4 kB / 0.5734 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4535, allocations: 4 kB / 0.5734 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4535, allocations: 0 / 0.5734 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.4541, allocations: 409.2 kB / 0.5738 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4541, allocations: 4 kB / 0.5738 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.4545, allocations: 83.88 kB / 0.5739 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4545, allocations: 0 / 0.5739 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.4545, allocations: 11.98 kB / 0.5739 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.4545, allocations: 0 / 0.5739 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4545, allocations: 0 / 0.5739 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009624/0.4555, allocations: 0.5184 MB / 0.5744 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.4557, allocations: 128.8 kB / 0.5745 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.4557, allocations: 4 kB / 0.5746 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.4559, allocations: 15.98 kB / 0.5746 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.456, allocations: 19.97 kB / 0.5746 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.456, allocations: 8 kB / 0.5746 GB, free: 6.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002197/0.4562, allocations: 198 kB / 0.5748 GB, free: 6.676 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4563, allocations: 3.938 kB / 0.5748 GB, free: 6.672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.4566, allocations: 91.84 kB / 0.5749 GB, free: 6.582 MB / 414.1 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.0001335/0.4568, allocations: 103.2 kB / 0.575 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000618/0.4574, allocations: 260.2 kB / 0.5752 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4574, allocations: 4.125 kB / 0.5752 GB, free: 6.211 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.4577, allocations: 132.3 kB / 0.5754 GB, free: 6.082 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.458, allocations: 36.42 kB / 0.5754 GB, free: 6.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.4596, allocations: 0.7585 MB / 0.5761 GB, free: 5.262 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.46, allocations: 0.7876 MB / 0.5769 GB, free: 4.449 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.4602, allocations: 38.94 kB / 0.5769 GB, free: 4.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.4603, allocations: 31.42 kB / 0.577 GB, free: 4.379 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4603, allocations: 0 / 0.577 GB, free: 4.379 MB / 414.1 MB Notification: Performance of Templates: time 0.007299/0.4676, allocations: 2.821 MB / 0.5797 GB, free: 1.574 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.45997798582539]