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.001332/0.001332, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001535/0.001535, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.486/1.486, allocations: 230.3 MB / 258 MB, free: 8.23 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.2613/0.2613, allocations: 46.95 MB / 361.4 MB, free: 4.414 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.002507/0.002507, allocations: 79.88 kB / 0.4972 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3795, allocations: 66.04 MB / 0.5616 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004754/0.3843, allocations: 3.049 MB / 0.5646 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.3859, allocations: 0.7895 MB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.3861, allocations: 7.938 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.3863, allocations: 59.39 kB / 0.5655 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.3865, allocations: 103 kB / 0.5656 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.3869, allocations: 115.8 kB / 0.5657 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.3874, allocations: 470.6 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/0.3877, allocations: 112.4 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.388, allocations: 199.3 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.3883, allocations: 211 kB / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.3884, allocations: 40 kB / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.364e-05/0.3884, allocations: 40 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.806e-05/0.3885, allocations: 91.67 kB / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.3887, allocations: 199 kB / 0.567 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.3893, allocations: 485.7 kB / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3893, allocations: 0 / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3893, allocations: 0 / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.3893, allocations: 0 / 0.5674 GB, free: 14.6 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.001469/0.3908, allocations: 0.6379 MB / 0.5681 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3909, allocations: 12.03 kB / 0.5681 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.3911, allocations: 60.62 kB / 0.5681 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.3916, allocations: 238 kB / 0.5684 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.3917, allocations: 25.38 kB / 0.5684 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.82e-05/0.3917, allocations: 44.38 kB / 0.5684 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006851/0.3924, allocations: 342.8 kB / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.3924, allocations: 3.938 kB / 0.5688 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.3925, allocations: 16 kB / 0.5688 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3925, allocations: 8 kB / 0.5688 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.3931, allocations: 307.8 kB / 0.5691 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.3955, allocations: 1.287 MB / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005465/0.396, allocations: 256.8 kB / 0.5706 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.3963, allocations: 133.4 kB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.3963, allocations: 8.281 kB / 0.5707 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.3964, allocations: 42.81 kB / 0.5707 GB, free: 11.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.3964, allocations: 0 / 0.5707 GB, free: 11.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009147/0.3973, allocations: 375.5 kB / 0.5711 GB, free: 10.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.3974, allocations: 59.34 kB / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.3977, allocations: 261.8 kB / 0.5714 GB, free: 10.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.3977, allocations: 37.7 kB / 0.5714 GB, free: 10.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.3979, allocations: 212.3 kB / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.398, allocations: 115 kB / 0.5718 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.3982, allocations: 78.06 kB / 0.5718 GB, free: 9.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.3984, allocations: 338.8 kB / 0.5722 GB, free: 9.535 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.3986, allocations: 104.8 kB / 0.5723 GB, free: 9.434 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.3989, allocations: 175.5 kB / 0.5724 GB, free: 9.238 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.3995, allocations: 284.7 kB / 0.5727 GB, free: 8.938 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3995, allocations: 0 / 0.5727 GB, free: 8.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006773/0.4002, allocations: 378.4 kB / 0.5731 GB, free: 8.562 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.4002, allocations: 8 kB / 0.5731 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4002, allocations: 0 / 0.5731 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.4002, allocations: 4 kB / 0.5731 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.4007, allocations: 103.8 kB / 0.5732 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.4007, allocations: 7.984 kB / 0.5732 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.401, allocations: 39.67 kB / 0.5732 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.401, allocations: 19.98 kB / 0.5732 GB, free: 8.383 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.0001803/0.4012, allocations: 153.7 kB / 0.5734 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.4012, allocations: 35.81 kB / 0.5734 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006766/0.4019, allocations: 317.2 kB / 0.5737 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.4019, allocations: 4 kB / 0.5737 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4019, allocations: 0 / 0.5737 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4019, allocations: 3.984 kB / 0.5737 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.4025, allocations: 384.2 kB / 0.5741 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4025, allocations: 8 kB / 0.5741 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.4029, allocations: 79.88 kB / 0.5742 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4029, allocations: 0 / 0.5742 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.4029, allocations: 8 kB / 0.5742 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.4029, allocations: 0 / 0.5742 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4029, allocations: 0 / 0.5742 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009555/0.4039, allocations: 0.5263 MB / 0.5747 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.404, allocations: 47.75 kB / 0.5747 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.404, allocations: 11.92 kB / 0.5747 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.4043, allocations: 8 kB / 0.5748 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.4043, allocations: 23.95 kB / 0.5748 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.4044, allocations: 12 kB / 0.5748 GB, free: 6.707 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002181/0.4046, allocations: 189.2 kB / 0.575 GB, free: 6.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4046, allocations: 0 / 0.575 GB, free: 6.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003629/0.4049, allocations: 95.91 kB / 0.5751 GB, free: 6.426 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.0001428/0.4051, allocations: 103.2 kB / 0.5752 GB, free: 6.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006096/0.4057, allocations: 255.6 kB / 0.5754 GB, free: 6.066 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4057, allocations: 3.938 kB / 0.5754 GB, free: 6.062 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.406, allocations: 128.2 kB / 0.5755 GB, free: 5.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.4063, allocations: 32.44 kB / 0.5756 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.4077, allocations: 0.7609 MB / 0.5763 GB, free: 5.117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.4082, allocations: 0.7837 MB / 0.5771 GB, free: 4.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000169/0.4083, allocations: 38.95 kB / 0.5771 GB, free: 4.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.622e-05/0.4084, allocations: 31.42 kB / 0.5771 GB, free: 4.238 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4084, allocations: 0 / 0.5771 GB, free: 4.238 MB / 414.1 MB Notification: Performance of Templates: time 0.007364/0.4158, allocations: 2.92 MB / 0.58 GB, free: 1.336 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 -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/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-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.407073991373181]