Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001459/0.001459, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001696/0.001696, allocations: 213.7 kB / 24.54 MB, free: 4.02 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.493/1.493, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2649/0.2649, allocations: 46.89 MB / 361.3 MB, free: 4.477 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002748/0.002748, allocations: 83.84 kB / 0.4971 GB, free: 7.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4024, allocations: 66.03 MB / 0.5615 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.005311/0.4077, allocations: 3.038 MB / 0.5645 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.4093, allocations: 0.7903 MB / 0.5653 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.4095, allocations: 11.94 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.4097, allocations: 59.38 kB / 0.5653 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.4099, allocations: 99.11 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.4103, allocations: 123.8 kB / 0.5655 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000522/0.4108, allocations: 470.6 kB / 0.566 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.4111, allocations: 116.4 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.4114, allocations: 191.3 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.4117, allocations: 207.1 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.696e-05/0.4118, allocations: 36 kB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.4119, allocations: 44 kB / 0.5666 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.507e-05/0.412, allocations: 91.61 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.4122, allocations: 207 kB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006334/0.4129, allocations: 472.8 kB / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4129, allocations: 0 / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4129, allocations: 0 / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.4129, allocations: 0 / 0.5673 GB, free: 14.71 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.001513/0.4144, allocations: 0.6379 MB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4144, allocations: 16.02 kB / 0.5679 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.4147, allocations: 56.66 kB / 0.568 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.4152, allocations: 237.9 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.664e-05/0.4152, allocations: 37.38 kB / 0.5683 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.4153, allocations: 36.38 kB / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007049/0.416, allocations: 350.8 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.416, allocations: 0 / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.416, allocations: 16 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.4161, allocations: 8 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006608/0.4167, allocations: 299.8 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.419, allocations: 1.295 MB / 0.5702 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005535/0.4196, allocations: 252.9 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.4199, allocations: 137.4 kB / 0.5706 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.4199, allocations: 4.281 kB / 0.5706 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.42, allocations: 38.78 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.512e-06/0.42, allocations: 0 / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009116/0.4209, allocations: 379.6 kB / 0.571 GB, free: 10.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.4209, allocations: 59.33 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.4212, allocations: 261.8 kB / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.4213, allocations: 33.7 kB / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.4214, allocations: 208.3 kB / 0.5715 GB, free: 10.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.8e-05/0.4215, allocations: 115 kB / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.4216, allocations: 82.08 kB / 0.5717 GB, free: 9.988 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4218, allocations: 346.7 kB / 0.572 GB, free: 9.641 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.4221, allocations: 100.8 kB / 0.5721 GB, free: 9.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.4224, allocations: 171.4 kB / 0.5723 GB, free: 9.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.4229, allocations: 288.7 kB / 0.5726 GB, free: 9.047 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4229, allocations: 0 / 0.5726 GB, free: 9.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007285/0.4237, allocations: 374.3 kB / 0.5729 GB, free: 8.676 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4237, allocations: 4 kB / 0.5729 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.4237, allocations: 4 kB / 0.5729 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.4237, allocations: 7.938 kB / 0.5729 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/0.4242, allocations: 112 kB / 0.573 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.4242, allocations: 4 kB / 0.573 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.4245, allocations: 43.66 kB / 0.5731 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.4246, allocations: 12 kB / 0.5731 GB, free: 8.492 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.0001828/0.4247, allocations: 159 kB / 0.5733 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.4248, allocations: 27.81 kB / 0.5733 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007364/0.4255, allocations: 329.2 kB / 0.5736 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.4255, allocations: 4 kB / 0.5736 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4255, allocations: 0 / 0.5736 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4256, allocations: 0 / 0.5736 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.4261, allocations: 380.2 kB / 0.574 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4261, allocations: 0 / 0.574 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000474/0.4265, allocations: 83.88 kB / 0.574 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.4265, allocations: 4 kB / 0.574 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.4266, allocations: 8 kB / 0.5741 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4266, allocations: 4 kB / 0.5741 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4266, allocations: 0 / 0.5741 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000962/0.4275, allocations: 0.5147 MB / 0.5746 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.4276, allocations: 47.75 kB / 0.5746 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.4277, allocations: 8 kB / 0.5746 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.4279, allocations: 16.05 kB / 0.5746 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.428, allocations: 23.95 kB / 0.5746 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.428, allocations: 12 kB / 0.5747 GB, free: 6.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.4282, allocations: 189.2 kB / 0.5748 GB, free: 6.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4282, allocations: 0 / 0.5748 GB, free: 6.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.4286, allocations: 95.78 kB / 0.5749 GB, free: 6.539 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.000135/0.4287, allocations: 99.25 kB / 0.575 GB, free: 6.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006245/0.4294, allocations: 263.5 kB / 0.5753 GB, free: 6.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4294, allocations: 0 / 0.5753 GB, free: 6.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.4296, allocations: 123.9 kB / 0.5754 GB, free: 6.055 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.43, allocations: 44.3 kB / 0.5754 GB, free: 6.012 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.4315, allocations: 0.7574 MB / 0.5762 GB, free: 5.227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.4319, allocations: 0.7876 MB / 0.5769 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.4321, allocations: 34.95 kB / 0.577 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.4322, allocations: 27.44 kB / 0.577 GB, free: 4.352 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4322, allocations: 0 / 0.577 GB, free: 4.352 MB / 414.1 MB Notification: Performance of Templates: time 0.008323/0.4405, allocations: 2.918 MB / 0.5799 GB, free: 1.457 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.622859396971762]