Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.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.001082/0.001082, 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.001203/0.001203, allocations: 167.7 kB / 24.99 MB, free: 8.219 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 1.019/1.019, allocations: 177 MB / 205.2 MB, free: 5.531 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.2942/0.2942, allocations: 34.87 MB / 296.6 MB, free: 0.5391 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.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.67e-05, allocations: 6.312 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.00861/0.008637, allocations: 10.94 MB / 389.7 MB, free: 7.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005387/0.01402, allocations: 3.983 MB / 393.7 MB, free: 3.414 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006289/0.01465, allocations: 75.62 kB / 393.8 MB, free: 3.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.0174, allocations: 2.655 MB / 396.4 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.01984, allocations: 1.975 MB / 398.4 MB, free: 14.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.02093, allocations: 0.8577 MB / 399.2 MB, free: 13.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003492/0.02442, allocations: 5.203 MB / 404.4 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.02675, allocations: 3.369 MB / 407.8 MB, free: 5.203 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/0.02871, allocations: 2.428 MB / 410.2 MB, free: 2.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.03078, allocations: 2.549 MB / 412.8 MB, free: 220 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003264/0.0311, allocations: 340 kB / 413.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.03218, allocations: 0.9128 MB / 414 MB, free: 14.97 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00142/0.0336, allocations: 2.073 MB / 416.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.03461, allocations: 1.32 MB / 417.4 MB, free: 11.57 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003507/0.03812, allocations: 4.507 MB / 421.9 MB, free: 7.043 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.03812, allocations: 4 kB / 421.9 MB, free: 7.039 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.03813, allocations: 4 kB / 421.9 MB, free: 7.035 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.336e-05/0.03816, allocations: 0 / 421.9 MB, free: 7.035 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.005201/0.04336, allocations: 5.267 MB / 427.2 MB, free: 1.699 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.04341, allocations: 16.02 kB / 427.2 MB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004664/0.04807, allocations: 2.518 MB / 429.7 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/0.0503, allocations: 2.096 MB / 431.8 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.05043, allocations: 246.7 kB / 432.1 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000364/0.05079, allocations: 340.2 kB / 432.4 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007247/0.05804, allocations: 6.564 MB / 439 MB, free: 4.781 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.82e-05/0.05811, allocations: 43.58 kB / 439 MB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002731/0.05839, allocations: 171.8 kB / 439.2 MB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001711/0.0601, allocations: 1.9 MB / 441.1 MB, free: 2.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1844/0.2445, allocations: 3.272 MB / 444.4 MB, free: 94.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02266/0.2671, allocations: 45.4 MB / 489.8 MB, free: 57.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003937/0.2711, allocations: 2.12 MB / 491.9 MB, free: 56.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/0.2716, allocations: 486.3 kB / 492.4 MB, free: 56.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003618/0.2752, allocations: 3.946 MB / 496.3 MB, free: 54.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.2753, allocations: 55.45 kB / 496.4 MB, free: 54.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 3.617e-06/0.2753, allocations: 0 / 496.4 MB, free: 54.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.01564/0.2909, allocations: 8.034 MB / 0.4926 GB, free: 51.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.291, allocations: 196 kB / 0.4928 GB, free: 50.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003887/0.2949, allocations: 3.514 MB / 0.4962 GB, free: 49.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.2949, allocations: 51.2 kB / 0.4962 GB, free: 49.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001697/0.2966, allocations: 3.469 MB / 0.4996 GB, free: 46.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004475/0.2971, allocations: 0.6726 MB / 0.5003 GB, free: 46.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001425/0.2985, allocations: 1.313 MB / 0.5016 GB, free: 45.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.432e-05/0.2985, allocations: 481.8 kB / 0.502 GB, free: 44.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.2999, allocations: 0.5755 MB / 0.5026 GB, free: 44.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003342/0.3032, allocations: 6.364 MB / 0.5088 GB, free: 36.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005854/0.3091, allocations: 7.583 MB / 0.5162 GB, free: 28.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/0.3092, allocations: 38.69 kB / 0.5162 GB, free: 28.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.007486/0.3166, allocations: 5.102 MB / 0.5212 GB, free: 26.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.581e-05/0.3167, allocations: 66.81 kB / 0.5213 GB, free: 26.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001652/0.3169, allocations: 142.5 kB / 0.5214 GB, free: 26.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.317, allocations: 179.4 kB / 0.5216 GB, free: 26.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/0.3201, allocations: 1.442 MB / 0.523 GB, free: 25.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001658/0.3203, allocations: 267.3 kB / 0.5233 GB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/0.3235, allocations: 363.2 kB / 0.5236 GB, free: 25.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/0.3238, allocations: 375.5 kB / 0.524 GB, free: 25.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 772 * Array equations: 3 * 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.0009575/0.3248, allocations: 0.6795 MB / 0.5246 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/0.3251, allocations: 369.8 kB / 0.525 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.3254, allocations: 319 kB / 0.5253 GB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.3254, allocations: 20 kB / 0.5253 GB, free: 23.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/0.3254, allocations: 3.438 kB / 0.5253 GB, free: 23.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.3254, allocations: 6.703 kB / 0.5253 GB, free: 23.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00528/0.3307, allocations: 4.916 MB / 0.5301 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.3307, allocations: 20.7 kB / 0.5301 GB, free: 19.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005409/0.3312, allocations: 279.8 kB / 0.5304 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/0.3313, allocations: 24 kB / 0.5304 GB, free: 18.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/0.3313, allocations: 50.02 kB / 0.5305 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.668e-05/0.3313, allocations: 35.67 kB / 0.5305 GB, free: 18.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/0.3313, allocations: 27.88 kB / 0.5305 GB, free: 18.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.3329, allocations: 2.492 MB / 0.533 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.3332, allocations: 348.2 kB / 0.5333 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.3334, allocations: 52.22 kB / 0.5333 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006548/0.334, allocations: 96.73 kB / 0.5334 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.3342, allocations: 156.9 kB / 0.5336 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.637e-05/0.3342, allocations: 66.02 kB / 0.5336 GB, free: 15.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001576/0.3358, allocations: 1.497 MB / 0.5351 GB, free: 14.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3358, allocations: 4 kB / 0.5351 GB, free: 14.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002927/0.3387, allocations: 0.9816 MB / 0.5361 GB, free: 13.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (145): * Single equations (assignments): 142 * Array equations: 3 * 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.0002828/0.339, allocations: 210.3 kB / 0.5363 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00296/0.342, allocations: 2.616 MB / 0.5388 GB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.342, allocations: 4 kB / 0.5388 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.3424, allocations: 466 kB / 0.5393 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.3438, allocations: 430.3 kB / 0.5397 GB, free: 9.844 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008438/0.3522, allocations: 7.685 MB / 0.5472 GB, free: 2.332 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008657/0.3531, allocations: 1.192 MB / 0.5484 GB, free: 1.473 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002051/0.3552, allocations: 1.575 MB / 0.5499 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.3555, allocations: 236.5 kB / 0.5501 GB, free: 344 kB / 410.7 MB Notification: Performance of SimCode: time 1.994e-06/0.3555, allocations: 0 / 0.5501 GB, free: 344 kB / 410.7 MB Notification: Performance of Templates: time 0.03595/0.3914, allocations: 21.76 MB / 0.5714 GB, free: 11.16 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.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: 4.140322031220421]