Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.002043/0.002043, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002177/0.002177, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2096/0.2096, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.111e-05, allocations: 6.25 kB / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003579/0.00361, allocations: 2.942 MB / 349.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.004775, allocations: 0.7564 MB / 350.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.004942, allocations: 8 kB / 350.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.005134, allocations: 55.39 kB / 350.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.005339, allocations: 114.9 kB / 350.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.005601, allocations: 115.8 kB / 350.9 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.005967, allocations: 482.5 kB / 351.4 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.006181, allocations: 100.5 kB / 351.5 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.006484, allocations: 275.4 kB / 351.7 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.006677, allocations: 155.5 kB / 351.9 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.159e-05/0.006739, allocations: 44 kB / 351.9 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.974e-05/0.006798, allocations: 40 kB / 352 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.006864, allocations: 95.64 kB / 352.1 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.00699, allocations: 131.7 kB / 352.2 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.007399, allocations: 490.4 kB / 352.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.007403, allocations: 0 / 352.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.007404, allocations: 0 / 352.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.007412, allocations: 0 / 352.7 MB, free: 4.023 MB / 282.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.001231/0.008643, allocations: 0.7531 MB / 353.4 MB, free: 3.234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.008687, allocations: 8.031 kB / 353.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.008807, allocations: 80.66 kB / 353.5 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.009127, allocations: 239.8 kB / 353.8 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.009165, allocations: 33.31 kB / 353.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.009221, allocations: 40.38 kB / 353.8 MB, free: 2.812 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.009713, allocations: 323 kB / 354.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.009733, allocations: 192 / 354.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.009766, allocations: 20.38 kB / 354.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.009775, allocations: 11.94 kB / 354.2 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004981/0.01027, allocations: 291.8 kB / 354.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.01212, allocations: 1.277 MB / 355.7 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.01253, allocations: 259.4 kB / 356 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.01274, allocations: 136.2 kB / 356.1 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.297e-05/0.01279, allocations: 4.281 kB / 356.1 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.01281, allocations: 41.67 kB / 356.2 MB, free: 372 kB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.393e-06/0.01281, allocations: 3.938 kB / 356.2 MB, free: 368 kB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007038/0.01351, allocations: 374.6 kB / 356.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.01357, allocations: 59.34 kB / 356.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.01392, allocations: 312.3 kB / 356.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.01396, allocations: 33.7 kB / 356.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.0142, allocations: 263.2 kB / 357.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.01433, allocations: 127 kB / 357.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.01448, allocations: 83.8 kB / 357.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.00031/0.01479, allocations: 0.5157 MB / 357.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.01503, allocations: 100.9 kB / 358 MB, free: 14.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.01537, allocations: 198.7 kB / 358.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005718/0.01594, allocations: 299.3 kB / 358.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.01594, allocations: 0 / 358.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007385/0.01668, allocations: 374.4 kB / 358.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.0167, allocations: 4 kB / 358.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.01672, allocations: 7.938 kB / 358.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.01674, allocations: 4 kB / 358.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.01725, allocations: 99.81 kB / 359 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.01726, allocations: 4 kB / 359 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.01753, allocations: 43.72 kB / 359 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.01757, allocations: 12.22 kB / 359 MB, free: 13.36 MB / 298.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.0002123/0.01778, allocations: 196.5 kB / 359.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.01786, allocations: 35.86 kB / 359.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007367/0.0186, allocations: 327.9 kB / 359.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.0186, allocations: 4 kB / 359.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01861, allocations: 0 / 359.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01861, allocations: 0 / 359.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005118/0.01912, allocations: 320.4 kB / 359.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01912, allocations: 0 / 359.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.01956, allocations: 95.81 kB / 360 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.01957, allocations: 4 kB / 360 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.0196, allocations: 4 kB / 360 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.0196, allocations: 7.938 kB / 360 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.0196, allocations: 0 / 360 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009724/0.02058, allocations: 0.5499 MB / 360.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.0207, allocations: 47.72 kB / 360.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.02075, allocations: 8 kB / 360.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.02097, allocations: 15.92 kB / 360.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.02105, allocations: 27.98 kB / 360.7 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.02107, allocations: 8 kB / 360.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002327/0.02131, allocations: 221.1 kB / 360.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02131, allocations: 0 / 360.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003943/0.0217, allocations: 95.78 kB / 361 MB, free: 11.35 MB / 298.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.0001757/0.02188, allocations: 99.25 kB / 361.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006371/0.02251, allocations: 273.1 kB / 361.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.02252, allocations: 4.125 kB / 361.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.02281, allocations: 147.4 kB / 361.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.02316, allocations: 26.84 kB / 361.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.02472, allocations: 0.7093 MB / 362.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.02494, allocations: 181.3 kB / 362.4 MB, free: 9.855 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.02511, allocations: 30.95 kB / 362.4 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.02521, allocations: 32.5 kB / 362.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02521, allocations: 0 / 362.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of Templates: time 0.007529/0.03274, allocations: 2.474 MB / 364.9 MB, free: 7.348 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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.021742499084212]