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.001691/0.001691, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 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.002167/0.002167, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 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.526/1.526, allocations: 177 MB / 204.4 MB, free: 5.594 MB / 186.7 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.3526/0.3526, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 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 1.643e-06/1.643e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.806e-05/3.97e-05, allocations: 4.141 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.005074/0.005113, allocations: 2.806 MB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.006932, allocations: 0.7517 MB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.00714, allocations: 11.94 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.007364, allocations: 51.44 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.007634, allocations: 115 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.008022, allocations: 115.8 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006013/0.008624, allocations: 494.2 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.008882, allocations: 100.5 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004911/0.009373, allocations: 283.4 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.009635, allocations: 147.5 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.341e-05/0.009709, allocations: 44 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.009818, allocations: 47.98 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.525e-05/0.009913, allocations: 83.67 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.0101, allocations: 139.6 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006326/0.01073, allocations: 494.3 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01073, allocations: 0 / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.01074, allocations: 0 / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.01074, allocations: 0 / 382.8 MB, free: 13.22 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.001549/0.01229, allocations: 0.6379 MB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.01233, allocations: 8.031 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.01267, allocations: 88.64 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.01314, allocations: 225.1 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.01318, allocations: 37.36 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-05/0.01326, allocations: 48.33 kB / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/0.01398, allocations: 343 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.014, allocations: 192 / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.01404, allocations: 16.38 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.01406, allocations: 11.94 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007085/0.01477, allocations: 303.8 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.01723, allocations: 1.145 MB / 385.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/0.01782, allocations: 269.2 kB / 385.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.01815, allocations: 145.3 kB / 386.1 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.01818, allocations: 8.281 kB / 386.1 MB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.01822, allocations: 34.84 kB / 386.1 MB, free: 9.777 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.413e-06/0.01822, allocations: 0 / 386.1 MB, free: 9.777 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009632/0.01918, allocations: 387.4 kB / 386.5 MB, free: 9.395 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.01924, allocations: 59.34 kB / 386.6 MB, free: 9.324 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.01952, allocations: 233.7 kB / 386.8 MB, free: 9.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.01956, allocations: 33.7 kB / 386.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.01973, allocations: 212.5 kB / 387 MB, free: 8.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.01985, allocations: 119 kB / 387.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.02, allocations: 78.14 kB / 387.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.0202, allocations: 330.8 kB / 387.5 MB, free: 8.309 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.02047, allocations: 108.9 kB / 387.7 MB, free: 8.203 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.0208, allocations: 172.1 kB / 387.8 MB, free: 8.008 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006203/0.02142, allocations: 296.6 kB / 388.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02142, allocations: 0 / 388.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007903/0.02221, allocations: 382.4 kB / 388.5 MB, free: 7.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.02223, allocations: 4 kB / 388.5 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.02224, allocations: 7.938 kB / 388.5 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.02227, allocations: 4 kB / 388.5 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/0.02279, allocations: 99.86 kB / 388.6 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.0228, allocations: 7.938 kB / 388.6 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.02309, allocations: 35.77 kB / 388.6 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.02312, allocations: 16.19 kB / 388.7 MB, free: 7.145 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.000185/0.02331, allocations: 149.8 kB / 388.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.134e-05/0.02339, allocations: 39.81 kB / 388.8 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007946/0.02419, allocations: 329.7 kB / 389.2 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.02419, allocations: 0 / 389.2 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.02419, allocations: 4 kB / 389.2 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.0242, allocations: 3.984 kB / 389.2 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.02464, allocations: 277 kB / 389.4 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.02465, allocations: 4 kB / 389.4 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.02512, allocations: 83.88 kB / 389.5 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.02512, allocations: 4 kB / 389.5 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.02515, allocations: 8 kB / 389.5 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.02515, allocations: 3.938 kB / 389.5 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.02516, allocations: 3.938 kB / 389.5 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.02619, allocations: 0.5148 MB / 390.1 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.02631, allocations: 51.75 kB / 390.1 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.02635, allocations: 8.062 kB / 390.1 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.02659, allocations: 23.86 kB / 390.1 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.02667, allocations: 19.95 kB / 390.2 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.02669, allocations: 8 kB / 390.2 MB, free: 5.566 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.02689, allocations: 169.2 kB / 390.3 MB, free: 5.406 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02689, allocations: 0 / 390.3 MB, free: 5.406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004001/0.02729, allocations: 95.78 kB / 390.4 MB, free: 5.312 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.0001805/0.02747, allocations: 99.19 kB / 390.5 MB, free: 5.207 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006959/0.02817, allocations: 263.6 kB / 390.8 MB, free: 4.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.02817, allocations: 0 / 390.8 MB, free: 4.949 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.02846, allocations: 127.8 kB / 390.9 MB, free: 4.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.02884, allocations: 27.16 kB / 390.9 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.03033, allocations: 0.7051 MB / 391.6 MB, free: 4.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.03055, allocations: 185.3 kB / 391.8 MB, free: 3.859 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001898/0.03074, allocations: 38.94 kB / 391.9 MB, free: 3.824 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.03085, allocations: 24.5 kB / 391.9 MB, free: 3.801 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.03085, allocations: 0 / 391.9 MB, free: 3.801 MB / 362.7 MB Notification: Performance of Templates: time 0.00719/0.03804, allocations: 2.471 MB / 394.4 MB, free: 1.371 MB / 362.7 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.1.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: 4.984755674027838]