Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 166 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.146/1.146, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3061/0.3061, allocations: 32.81 MB / 294.6 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.839e-05, allocations: 2.312 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003117/0.003135, allocations: 3.031 MB / 379 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009934/0.004128, allocations: 0.7517 MB / 379.8 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.004262, allocations: 11.94 kB / 379.8 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.004416, allocations: 55.38 kB / 379.8 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.004568, allocations: 107 kB / 379.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.004855, allocations: 131.6 kB / 380.1 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004224/0.005277, allocations: 486.5 kB / 380.5 MB, free: 416 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.005468, allocations: 100.5 kB / 380.6 MB, free: 308 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.005754, allocations: 279.4 kB / 380.9 MB, free: 28 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.005926, allocations: 155.5 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.00597, allocations: 40 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.448e-05/0.006034, allocations: 43.98 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.006084, allocations: 95.66 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.006181, allocations: 139.6 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.006476, allocations: 310.8 kB / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.006478, allocations: 0 / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.006479, allocations: 0 / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.006483, allocations: 0 / 381.7 MB, free: 15.26 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.000925/0.007408, allocations: 0.7339 MB / 382.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.007461, allocations: 19.92 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.007677, allocations: 88.64 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.007966, allocations: 240 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.00799, allocations: 29.38 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.008036, allocations: 44.31 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.008392, allocations: 267.8 kB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.008405, allocations: 192 / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.008431, allocations: 20.38 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.008442, allocations: 11.94 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.008705, allocations: 165.9 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.01009, allocations: 1.152 MB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.01037, allocations: 181.8 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.0105, allocations: 96.2 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.01052, allocations: 4.281 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.01054, allocations: 41.61 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.794e-06/0.01055, allocations: 0 / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004297/0.01098, allocations: 263.5 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.01101, allocations: 63.34 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.01119, allocations: 280.2 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.01121, allocations: 29.7 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/0.01131, allocations: 255.3 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/0.01137, allocations: 130.9 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.01149, allocations: 75.84 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.01161, allocations: 0.5001 MB / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.316e-05/0.0117, allocations: 52.97 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.01184, allocations: 146.8 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.01208, allocations: 219.2 kB / 386.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01208, allocations: 0 / 386.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003231/0.0124, allocations: 282.4 kB / 387 MB, free: 9.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.01242, allocations: 8.219 kB / 387 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.01242, allocations: 7.938 kB / 387 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.01244, allocations: 7.984 kB / 387 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.01269, allocations: 99.81 kB / 387.1 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.0127, allocations: 4 kB / 387.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.01282, allocations: 35.78 kB / 387.2 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.01284, allocations: 15.98 kB / 387.2 MB, free: 9.438 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.000103/0.01294, allocations: 180.5 kB / 387.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.01298, allocations: 35.81 kB / 387.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.01338, allocations: 257.6 kB / 387.6 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.01338, allocations: 4 kB / 387.6 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01338, allocations: 0 / 387.6 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.01339, allocations: 0 / 387.6 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.01362, allocations: 272.3 kB / 387.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01362, allocations: 0 / 387.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.01387, allocations: 87.81 kB / 388 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01387, allocations: 3.984 kB / 388 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.01389, allocations: 8 kB / 388 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.01389, allocations: 3.938 kB / 388 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01389, allocations: 4 kB / 388 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.0143, allocations: 435.5 kB / 388.4 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.01436, allocations: 47.77 kB / 388.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.01439, allocations: 4 kB / 388.5 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.01448, allocations: 15.94 kB / 388.5 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.01453, allocations: 19.95 kB / 388.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.01454, allocations: 12 kB / 388.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.543e-05/0.01463, allocations: 193.1 kB / 388.7 MB, free: 7.816 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01463, allocations: 0 / 388.7 MB, free: 7.816 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000227/0.01486, allocations: 103.7 kB / 388.8 MB, free: 7.715 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 7.549e-05/0.01493, allocations: 107.2 kB / 388.9 MB, free: 7.602 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.01521, allocations: 188.3 kB / 389.1 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01521, allocations: 0 / 389.1 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.01532, allocations: 99.86 kB / 389.2 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.01554, allocations: 28.48 kB / 389.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008488/0.01639, allocations: 0.6829 MB / 389.9 MB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.456e-05/0.01645, allocations: 92.81 kB / 390 MB, free: 6.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.01655, allocations: 34.95 kB / 390.1 MB, free: 6.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.01661, allocations: 28.48 kB / 390.1 MB, free: 6.398 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01661, allocations: 0 / 390.1 MB, free: 6.398 MB / 362.7 MB Notification: Performance of Templates: time 0.004515/0.02113, allocations: 2.484 MB / 392.6 MB, free: 3.953 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2426587059162557]