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.00109/0.00109, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009739/0.0009739, allocations: 157.6 kB / 24.99 MB, free: 9.289 MB / 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 0.8871/0.8871, allocations: 177 MB / 205.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2414/0.2414, allocations: 34.87 MB / 296.6 MB, free: 0.5703 MB / 266.7 MB " [Timeout remaining time 180] 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.463e-06/1.463e-06, allocations: 0 / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.34e-05, allocations: 2.312 kB / 378.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.007061/0.007085, allocations: 3.008 MB / 381.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00438/0.01146, allocations: 0.7634 MB / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.01166, allocations: 7.938 kB / 382.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.01185, allocations: 59.44 kB / 382.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.01205, allocations: 103 kB / 382.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.01238, allocations: 127.7 kB / 382.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004226/0.0128, allocations: 486.4 kB / 383.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.01301, allocations: 104.5 kB / 383.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/0.01637, allocations: 279.4 kB / 383.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.01656, allocations: 151.5 kB / 383.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.01662, allocations: 36 kB / 383.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.129e-05/0.0167, allocations: 47.98 kB / 383.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.222e-05/0.01676, allocations: 91.66 kB / 384 MB, free: 13.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.01688, allocations: 143.6 kB / 384.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.01724, allocations: 310.8 kB / 384.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.01725, allocations: 4 kB / 384.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01725, allocations: 0 / 384.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.01726, allocations: 0 / 384.4 MB, free: 12.7 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.0009808/0.01824, allocations: 0.7339 MB / 385.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.01828, allocations: 8.031 kB / 385.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.01851, allocations: 96.64 kB / 385.3 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.0188, allocations: 232 kB / 385.5 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.01883, allocations: 29.38 kB / 385.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.01888, allocations: 40.38 kB / 385.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/0.0223, allocations: 271.8 kB / 385.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.02232, allocations: 4.125 kB / 385.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.02235, allocations: 24.36 kB / 385.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.02236, allocations: 15.88 kB / 385.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.02268, allocations: 165.9 kB / 386 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.02415, allocations: 1.148 MB / 387.2 MB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.02446, allocations: 185.8 kB / 387.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.02461, allocations: 96.2 kB / 387.5 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.02463, allocations: 4.281 kB / 387.5 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.02465, allocations: 41.67 kB / 387.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.02466, allocations: 0 / 387.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004696/0.02513, allocations: 259.5 kB / 387.8 MB, free: 9.195 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003046/0.02817, allocations: 63.34 kB / 387.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.02838, allocations: 284.2 kB / 388.1 MB, free: 8.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002355/0.02861, allocations: 33.7 kB / 388.1 MB, free: 8.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.02872, allocations: 259.3 kB / 388.4 MB, free: 8.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.504e-05/0.0288, allocations: 118.9 kB / 388.5 MB, free: 8.414 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-05/0.02889, allocations: 75.78 kB / 388.6 MB, free: 8.332 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.02901, allocations: 0.5079 MB / 389.1 MB, free: 7.812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.02912, allocations: 56.95 kB / 389.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.02928, allocations: 138.8 kB / 389.3 MB, free: 7.586 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.02956, allocations: 219.2 kB / 389.5 MB, free: 7.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02956, allocations: 0 / 389.5 MB, free: 7.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003962/0.02996, allocations: 282.4 kB / 389.8 MB, free: 7.059 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.02998, allocations: 16.2 kB / 389.8 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.02998, allocations: 3.938 kB / 389.8 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.03, allocations: 4 kB / 389.8 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.03033, allocations: 103.9 kB / 389.9 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.03033, allocations: 4 kB / 389.9 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.03047, allocations: 27.78 kB / 389.9 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.0305, allocations: 23.92 kB / 389.9 MB, free: 6.879 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.0001063/0.0306, allocations: 176.5 kB / 390.1 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.03066, allocations: 43.8 kB / 390.1 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.03103, allocations: 249.7 kB / 390.4 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.03104, allocations: 4 kB / 390.4 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.03104, allocations: 0 / 390.4 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.03104, allocations: 0 / 390.4 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.03135, allocations: 272.3 kB / 390.7 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.03135, allocations: 0 / 390.7 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.03162, allocations: 83.88 kB / 390.7 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.03162, allocations: 0 / 390.7 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.03164, allocations: 8 kB / 390.8 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.03164, allocations: 3.938 kB / 390.8 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.03164, allocations: 4 kB / 390.8 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.03214, allocations: 439.5 kB / 391.2 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.03222, allocations: 51.7 kB / 391.2 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.03225, allocations: 4 kB / 391.2 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.03237, allocations: 11.94 kB / 391.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.03244, allocations: 27.95 kB / 391.3 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.03245, allocations: 8 kB / 391.3 MB, free: 5.449 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.03257, allocations: 197.1 kB / 391.5 MB, free: 5.262 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03257, allocations: 0 / 391.5 MB, free: 5.262 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.03289, allocations: 99.73 kB / 391.6 MB, free: 5.164 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 9.86e-05/0.03299, allocations: 111.2 kB / 391.7 MB, free: 5.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.03331, allocations: 180.3 kB / 391.9 MB, free: 4.867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.03331, allocations: 0 / 391.9 MB, free: 4.867 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.03345, allocations: 107.7 kB / 392 MB, free: 4.758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.03376, allocations: 32.42 kB / 392 MB, free: 4.727 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.03478, allocations: 0.6785 MB / 392.7 MB, free: 4.016 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.733e-05/0.03485, allocations: 96.8 kB / 392.8 MB, free: 3.902 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.03499, allocations: 30.95 kB / 392.8 MB, free: 3.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/0.03507, allocations: 28.44 kB / 392.8 MB, free: 3.844 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03507, allocations: 0 / 392.8 MB, free: 3.844 MB / 362.7 MB Notification: Performance of Templates: time 0.005443/0.04051, allocations: 2.469 MB / 395.3 MB, free: 1.41 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8208852868992835]