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.002551/0.002551, allocations: 99.53 kB / 20.97 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.001919/0.001919, allocations: 160.8 kB / 24.27 MB, free: 152 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.557/1.557, allocations: 177 MB / 204.5 MB, free: 5.621 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.4006/0.4006, allocations: 34.25 MB / 295.2 MB, free: 0.6641 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.943e-06/1.943e-06, allocations: 0 / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.67e-05/3.864e-05, allocations: 12.64 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.007447/0.007485, allocations: 2.985 MB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.00986, allocations: 0.7595 MB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003741/0.01023, allocations: 7.938 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.01055, allocations: 59.44 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000478/0.01102, allocations: 107 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.01154, allocations: 115.8 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009709/0.01251, allocations: 494.2 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000351/0.01286, allocations: 108.5 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000729/0.01359, allocations: 279.4 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004393/0.01403, allocations: 155.5 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.01416, allocations: 40 kB / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.01444, allocations: 44 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.01458, allocations: 87.66 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.01487, allocations: 139.7 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009274/0.0158, allocations: 490.3 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.0158, allocations: 4 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01581, allocations: 0 / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.01582, allocations: 0 / 383 MB, free: 13.06 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.002229/0.01805, allocations: 0.7531 MB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.0181, allocations: 12.03 kB / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004747/0.01857, allocations: 88.64 kB / 383.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.01917, allocations: 236 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/0.01922, allocations: 29.38 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.01933, allocations: 40.33 kB / 384.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.02033, allocations: 335 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.02036, allocations: 4.172 kB / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/0.02042, allocations: 16.38 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.02043, allocations: 11.94 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.02143, allocations: 283.8 kB / 384.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003715/0.02515, allocations: 1.285 MB / 386.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008289/0.02598, allocations: 269.8 kB / 386.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004271/0.0264, allocations: 132.2 kB / 386.5 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.207e-05/0.02646, allocations: 8.281 kB / 386.5 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.0265, allocations: 37.67 kB / 386.5 MB, free: 9.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.234e-06/0.0265, allocations: 4 kB / 386.5 MB, free: 9.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001312/0.02782, allocations: 371.5 kB / 386.9 MB, free: 9.004 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.02789, allocations: 63.33 kB / 387 MB, free: 8.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.0284, allocations: 312.2 kB / 387.3 MB, free: 8.609 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.02844, allocations: 33.7 kB / 387.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.02873, allocations: 255.4 kB / 387.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.02893, allocations: 130.9 kB / 387.7 MB, free: 8.188 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.02915, allocations: 83.8 kB / 387.8 MB, free: 8.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003934/0.02954, allocations: 0.5196 MB / 388.3 MB, free: 7.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.02992, allocations: 100.9 kB / 388.4 MB, free: 7.469 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/0.03042, allocations: 194.8 kB / 388.6 MB, free: 7.242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008663/0.03128, allocations: 303.2 kB / 388.9 MB, free: 6.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.03129, allocations: 4 kB / 388.9 MB, free: 6.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001124/0.03241, allocations: 362.5 kB / 389.2 MB, free: 6.551 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.03243, allocations: 8 kB / 389.2 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.03245, allocations: 3.938 kB / 389.2 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.03247, allocations: 4 kB / 389.2 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/0.03324, allocations: 100.1 kB / 389.3 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.03326, allocations: 11.94 kB / 389.3 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/0.0338, allocations: 39.72 kB / 389.4 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.03385, allocations: 15.98 kB / 389.4 MB, free: 6.371 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.0003056/0.03416, allocations: 200.5 kB / 389.6 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.03428, allocations: 35.86 kB / 389.6 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.03531, allocations: 313.8 kB / 389.9 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.03532, allocations: 4 kB / 389.9 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.03532, allocations: 0 / 389.9 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.03533, allocations: 4 kB / 389.9 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007269/0.03606, allocations: 320.4 kB / 390.3 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.03606, allocations: 0 / 390.3 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.0365, allocations: 87.86 kB / 390.3 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.03651, allocations: 4 kB / 390.3 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.03655, allocations: 4 kB / 390.4 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.03656, allocations: 3.938 kB / 390.4 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.03656, allocations: 0 / 390.4 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/0.03754, allocations: 0.5581 MB / 390.9 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.03767, allocations: 51.75 kB / 391 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.03771, allocations: 4 kB / 391 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.03792, allocations: 23.86 kB / 391 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.03799, allocations: 23.95 kB / 391 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.03801, allocations: 8 kB / 391 MB, free: 4.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000224/0.03824, allocations: 217.1 kB / 391.2 MB, free: 4.469 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03824, allocations: 0 / 391.2 MB, free: 4.469 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003948/0.03863, allocations: 95.78 kB / 391.3 MB, free: 4.375 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.000146/0.03878, allocations: 103.2 kB / 391.4 MB, free: 4.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000605/0.03938, allocations: 276.3 kB / 391.7 MB, free: 3.992 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.03938, allocations: 0 / 391.7 MB, free: 3.992 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.0397, allocations: 143.7 kB / 391.8 MB, free: 3.848 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.04005, allocations: 28.5 kB / 391.9 MB, free: 3.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.04151, allocations: 0.698 MB / 392.6 MB, free: 3.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.04173, allocations: 185.3 kB / 392.7 MB, free: 2.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.0419, allocations: 34.95 kB / 392.8 MB, free: 2.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.964e-05/0.042, allocations: 24.5 kB / 392.8 MB, free: 2.828 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.042, allocations: 0 / 392.8 MB, free: 2.828 MB / 362.7 MB Notification: Performance of Templates: time 0.007464/0.04946, allocations: 2.475 MB / 395.3 MB, free: 396 kB / 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","/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.120925360941328]