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.001182/0.001182, 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.0008882/0.0008882, 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.9897/0.9897, allocations: 177 MB / 204.8 MB, free: 5.559 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.2572/0.2572, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.723e-06/1.723e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.547e-05, allocations: 2.312 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01258/0.01261, allocations: 10.98 MB / 389.8 MB, free: 7.043 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0072/0.01981, allocations: 3.995 MB / 393.7 MB, free: 3.035 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.02125, allocations: 75.62 kB / 393.8 MB, free: 2.961 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002945/0.0242, allocations: 2.667 MB / 396.5 MB, free: 292 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004013/0.02821, allocations: 1.971 MB / 398.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.02983, allocations: 0.8615 MB / 399.3 MB, free: 13.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005937/0.03577, allocations: 5.21 MB / 404.5 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004104/0.03987, allocations: 3.365 MB / 407.9 MB, free: 4.809 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003704/0.04358, allocations: 2.506 MB / 410.4 MB, free: 2.297 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003114/0.04669, allocations: 2.463 MB / 412.9 MB, free: 15.83 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.04772, allocations: 332 kB / 413.2 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.04971, allocations: 0.9089 MB / 414.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00162/0.05133, allocations: 2.061 MB / 416.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002558/0.05389, allocations: 1.305 MB / 417.5 MB, free: 11.22 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005244/0.05914, allocations: 4.46 MB / 421.9 MB, free: 6.742 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.05914, allocations: 4 kB / 421.9 MB, free: 6.738 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.05914, allocations: 3.938 kB / 421.9 MB, free: 6.734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002249/0.05937, allocations: 0 / 421.9 MB, free: 6.734 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.006686/0.06605, allocations: 5.209 MB / 427.1 MB, free: 1.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.06609, allocations: 8.031 kB / 427.2 MB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004517/0.07061, allocations: 2.514 MB / 429.7 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002679/0.07329, allocations: 2.093 MB / 431.8 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.07342, allocations: 242.7 kB / 432 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004014/0.07383, allocations: 332.2 kB / 432.3 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008518/0.08234, allocations: 6.568 MB / 438.9 MB, free: 4.555 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.08245, allocations: 47.58 kB / 438.9 MB, free: 4.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003506/0.0828, allocations: 167.8 kB / 439.1 MB, free: 4.344 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001954/0.08475, allocations: 1.904 MB / 441 MB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1743/0.259, allocations: 3.282 MB / 444.3 MB, free: 88.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02745/0.2865, allocations: 45.5 MB / 489.8 MB, free: 52.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004108/0.2906, allocations: 2.097 MB / 491.9 MB, free: 51.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000601/0.2912, allocations: 462.7 kB / 492.3 MB, free: 51.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005046/0.2962, allocations: 3.939 MB / 496.3 MB, free: 49.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.2963, allocations: 59.3 kB / 496.3 MB, free: 49.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=145): time 5.661e-06/0.2963, allocations: 3.969 kB / 496.3 MB, free: 49.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.01263/0.3089, allocations: 7.989 MB / 0.4925 GB, free: 46.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.309, allocations: 201 kB / 0.4927 GB, free: 45.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003587/0.3125, allocations: 3.554 MB / 0.4962 GB, free: 44.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-05/0.3126, allocations: 50.17 kB / 0.4962 GB, free: 44.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001682/0.3143, allocations: 3.495 MB / 0.4996 GB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004665/0.3148, allocations: 0.6621 MB / 0.5003 GB, free: 41.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/0.316, allocations: 1.324 MB / 0.5016 GB, free: 40.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.316, allocations: 477.7 kB / 0.502 GB, free: 40.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.3172, allocations: 0.5862 MB / 0.5026 GB, free: 39.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003048/0.3202, allocations: 6.467 MB / 0.5089 GB, free: 31.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004752/0.325, allocations: 7.712 MB / 0.5164 GB, free: 22.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/0.3251, allocations: 41.25 kB / 0.5165 GB, free: 22.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.006043/0.3311, allocations: 5.178 MB / 0.5215 GB, free: 20.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.429e-05/0.3312, allocations: 71.09 kB / 0.5216 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/0.3313, allocations: 136.9 kB / 0.5217 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001139/0.3314, allocations: 185.9 kB / 0.5219 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/0.3337, allocations: 1.457 MB / 0.5233 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001094/0.3338, allocations: 273.5 kB / 0.5236 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/0.3364, allocations: 384.5 kB / 0.524 GB, free: 20.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002803/0.3366, allocations: 381.5 kB / 0.5243 GB, free: 20.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * 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 (784): * Single equations (assignments): 781 * 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.001033/0.3377, allocations: 0.6734 MB / 0.525 GB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.338, allocations: 369.7 kB / 0.5253 GB, free: 19.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.3383, allocations: 319.6 kB / 0.5256 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.3383, allocations: 22.5 kB / 0.5257 GB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.105e-05/0.3383, allocations: 0 / 0.5257 GB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.3383, allocations: 10.8 kB / 0.5257 GB, free: 19.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005552/0.3439, allocations: 4.893 MB / 0.5304 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.3439, allocations: 16.52 kB / 0.5305 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.3444, allocations: 275.4 kB / 0.5307 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.3444, allocations: 28.69 kB / 0.5308 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/0.3445, allocations: 50.17 kB / 0.5308 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.977e-05/0.3445, allocations: 39.91 kB / 0.5308 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.3445, allocations: 27.88 kB / 0.5309 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.3462, allocations: 2.47 MB / 0.5333 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005199/0.3467, allocations: 336.4 kB / 0.5336 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.3469, allocations: 55.59 kB / 0.5337 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006775/0.3476, allocations: 100.4 kB / 0.5337 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.3478, allocations: 147.7 kB / 0.5339 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/0.3478, allocations: 70.02 kB / 0.534 GB, free: 11.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002054/0.3499, allocations: 1.514 MB / 0.5354 GB, free: 9.965 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3499, allocations: 0 / 0.5354 GB, free: 9.965 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004446/0.3543, allocations: 0.9828 MB / 0.5364 GB, free: 8.984 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 (142): * Single equations (assignments): 139 * 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.000335/0.3547, allocations: 217.9 kB / 0.5366 GB, free: 8.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003962/0.3586, allocations: 2.641 MB / 0.5392 GB, free: 6.449 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/0.3586, allocations: 4 kB / 0.5392 GB, free: 6.445 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006003/0.3592, allocations: 460.5 kB / 0.5396 GB, free: 6.047 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.3609, allocations: 430.6 kB / 0.54 GB, free: 5.688 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009514/0.3704, allocations: 7.676 MB / 0.5475 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.3716, allocations: 1.194 MB / 0.5487 GB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002272/0.3738, allocations: 1.572 MB / 0.5502 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.3742, allocations: 234.9 kB / 0.5505 GB, free: 12.18 MB / 426.7 MB Notification: Performance of SimCode: time 2.013e-06/0.3742, allocations: 4 kB / 0.5505 GB, free: 12.18 MB / 426.7 MB Notification: Performance of Templates: time 0.03887/0.4131, allocations: 22.89 MB / 0.5728 GB, free: 6.711 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.087153856642544]