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.001458/0.001458, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001035/0.001035, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9428/0.9428, allocations: 177 MB / 204.8 MB, free: 5.57 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.2532/0.2532, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.553e-06/1.553e-06, allocations: 0 / 378.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.643e-05, allocations: 3.016 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003323/0.003349, allocations: 3.03 MB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.004501, allocations: 0.7595 MB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.00465, allocations: 7.938 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.004813, allocations: 59.38 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.004986, allocations: 111 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.005267, allocations: 123.7 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.00563, allocations: 490.4 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.005821, allocations: 92.53 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.006123, allocations: 279.4 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.00629, allocations: 151.5 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/0.006342, allocations: 40 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.257e-05/0.006425, allocations: 43.98 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.006482, allocations: 95.66 kB / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.00659, allocations: 147.6 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.006938, allocations: 314.8 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006941, allocations: 0 / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006942, allocations: 0 / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.006948, allocations: 0 / 384.5 MB, free: 12.36 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.0008412/0.00779, allocations: 0.7378 MB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.00783, allocations: 16.03 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.008013, allocations: 92.64 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.008262, allocations: 235.9 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.008282, allocations: 29.38 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.008323, allocations: 36.38 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.008656, allocations: 275.7 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.008668, allocations: 4.188 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.00869, allocations: 16.38 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.008701, allocations: 15.94 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.008947, allocations: 165.9 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.01017, allocations: 1.144 MB / 387.2 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.01041, allocations: 189.7 kB / 387.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.01053, allocations: 92.2 kB / 387.5 MB, free: 9.164 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.01055, allocations: 8.281 kB / 387.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.01056, allocations: 37.67 kB / 387.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.404e-06/0.01057, allocations: 3.984 kB / 387.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003581/0.01093, allocations: 267.5 kB / 387.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.01096, allocations: 63.34 kB / 387.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.01113, allocations: 280.2 kB / 388.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.01114, allocations: 33.7 kB / 388.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.01124, allocations: 247.3 kB / 388.4 MB, free: 8.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.403e-05/0.01131, allocations: 130.9 kB / 388.5 MB, free: 8.062 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.01139, allocations: 71.84 kB / 388.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.01151, allocations: 0.5079 MB / 389.1 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.01163, allocations: 52.95 kB / 389.2 MB, free: 7.414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.01178, allocations: 138.8 kB / 389.3 MB, free: 7.242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.01201, allocations: 227.2 kB / 389.5 MB, free: 6.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01201, allocations: 0 / 389.5 MB, free: 6.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002999/0.01231, allocations: 278.6 kB / 389.8 MB, free: 6.711 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01232, allocations: 12.02 kB / 389.8 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01233, allocations: 7.938 kB / 389.8 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.01234, allocations: 4 kB / 389.8 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.0126, allocations: 99.88 kB / 389.9 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.0126, allocations: 3.938 kB / 389.9 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.01271, allocations: 31.78 kB / 389.9 MB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.01273, allocations: 19.98 kB / 390 MB, free: 6.535 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 9.772e-05/0.01283, allocations: 176.5 kB / 390.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.01287, allocations: 39.81 kB / 390.2 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.01316, allocations: 249.7 kB / 390.4 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01316, allocations: 0 / 390.4 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.01317, allocations: 4 kB / 390.4 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.01317, allocations: 0 / 390.4 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.01341, allocations: 276.3 kB / 390.7 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01341, allocations: 0 / 390.7 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.01361, allocations: 83.88 kB / 390.8 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01361, allocations: 4 kB / 390.8 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.01363, allocations: 8 kB / 390.8 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.01363, allocations: 7.938 kB / 390.8 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01363, allocations: 4 kB / 390.8 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.01406, allocations: 435.5 kB / 391.2 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.01412, allocations: 43.77 kB / 391.3 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.01415, allocations: 8 kB / 391.3 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/0.01424, allocations: 11.94 kB / 391.3 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.0143, allocations: 23.95 kB / 391.3 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.01431, allocations: 4 kB / 391.3 MB, free: 5.113 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.95e-05/0.01441, allocations: 197.1 kB / 391.5 MB, free: 4.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01441, allocations: 0 / 391.5 MB, free: 4.926 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002343/0.01464, allocations: 103.7 kB / 391.6 MB, free: 4.824 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.494e-05/0.01474, allocations: 107.2 kB / 391.7 MB, free: 4.711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.01502, allocations: 180.3 kB / 391.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01502, allocations: 4 kB / 391.9 MB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.01513, allocations: 107.7 kB / 392 MB, free: 4.418 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.01535, allocations: 28.42 kB / 392 MB, free: 4.391 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009247/0.01628, allocations: 0.6824 MB / 392.7 MB, free: 3.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.16e-05/0.01634, allocations: 100.8 kB / 392.8 MB, free: 3.559 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.01644, allocations: 30.95 kB / 392.8 MB, free: 3.531 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.429e-05/0.01652, allocations: 28.48 kB / 392.9 MB, free: 3.5 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01652, allocations: 4 kB / 392.9 MB, free: 3.496 MB / 362.7 MB Notification: Performance of Templates: time 0.004434/0.02095, allocations: 2.557 MB / 395.4 MB, free: 0.9727 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.8558672508224845]