Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.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.0008043/0.0008043, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007548/0.0007548, allocations: 174.3 kB / 23.97 MB, free: 0.5977 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 0.8911/0.8911, allocations: 158.6 MB / 185.7 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.1254/0.1254, allocations: 32.38 MB / 270.4 MB, free: 14.96 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.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.194e-05, allocations: 5.797 kB / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.007731/0.007753, allocations: 10.01 MB / 418.1 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005978/0.01373, allocations: 3.879 MB / 422 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.01474, allocations: 79.62 kB / 422.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002701/0.01744, allocations: 2.561 MB / 424.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.02026, allocations: 1.998 MB / 426.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.02132, allocations: 0.8538 MB / 427.5 MB, free: 9.555 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00365/0.02497, allocations: 5.098 MB / 432.6 MB, free: 4.445 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.02701, allocations: 3.282 MB / 435.9 MB, free: 1.113 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.162/0.189, allocations: 2.458 MB / 438.3 MB, free: 19.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002821/0.1918, allocations: 2.52 MB / 440.8 MB, free: 19.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000535/0.1924, allocations: 341.2 kB / 441.2 MB, free: 19.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.1936, allocations: 0.936 MB / 442.1 MB, free: 19.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.1952, allocations: 2.084 MB / 444.2 MB, free: 19.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003072/0.1983, allocations: 1.335 MB / 445.5 MB, free: 19.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007543/0.2058, allocations: 6.948 MB / 452.5 MB, free: 18.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2058, allocations: 0 / 452.5 MB, free: 18.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2058, allocations: 2.219 kB / 452.5 MB, free: 18.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.027e-05/0.2059, allocations: 0 / 452.5 MB, free: 18.66 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.00599/0.2119, allocations: 4.952 MB / 457.4 MB, free: 16.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.212, allocations: 9.625 kB / 457.4 MB, free: 16.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/0.2157, allocations: 2.025 MB / 459.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/0.2183, allocations: 2.357 MB / 461.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.2184, allocations: 250.4 kB / 462.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003798/0.2188, allocations: 332.7 kB / 462.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009604/0.2284, allocations: 10.32 MB / 472.7 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.902e-05/0.2285, allocations: 50.17 kB / 472.8 MB, free: 6.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002823/0.2288, allocations: 162 kB / 472.9 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001366/0.2301, allocations: 1.905 MB / 474.8 MB, free: 4.754 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009212/0.2393, allocations: 8.141 MB / 483 MB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03145/0.2708, allocations: 37 MB / 0.5078 GB, free: 7.176 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004617/0.2754, allocations: 2.839 MB / 0.5106 GB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009772/0.2764, allocations: 0.965 MB / 0.5115 GB, free: 3.328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005408/0.2818, allocations: 4.408 MB / 0.5158 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.2818, allocations: 49.81 kB / 0.5159 GB, free: 14.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=148): time 4.288e-06/0.2818, allocations: 4 kB / 0.5159 GB, free: 14.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=160): time 0.01445/0.2963, allocations: 9.973 MB / 0.5256 GB, free: 4.883 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/0.2964, allocations: 204.3 kB / 0.5258 GB, free: 4.641 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004151/0.3005, allocations: 4.039 MB / 0.5297 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.3006, allocations: 53.7 kB / 0.5298 GB, free: 0.543 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001417/0.302, allocations: 3.305 MB / 0.533 GB, free: 13.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/0.3024, allocations: 0.6532 MB / 0.5337 GB, free: 12.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/0.3036, allocations: 1.203 MB / 0.5348 GB, free: 11.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.3037, allocations: 309.1 kB / 0.5351 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.3053, allocations: 1.648 MB / 0.5367 GB, free: 9.438 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003503/0.3088, allocations: 5.576 MB / 0.5422 GB, free: 1.977 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005469/0.3143, allocations: 7.795 MB / 0.5498 GB, free: 8.387 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-05/0.3143, allocations: 36 kB / 0.5498 GB, free: 8.352 MB / 458.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.006845/0.3211, allocations: 6.902 MB / 0.5566 GB, free: 1.449 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/0.3212, allocations: 60 kB / 0.5566 GB, free: 1.391 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-05/0.3213, allocations: 140 kB / 0.5568 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001072/0.3214, allocations: 180 kB / 0.5569 GB, free: 1.078 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/0.3236, allocations: 1.431 MB / 0.5583 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001182/0.3237, allocations: 267.2 kB / 0.5586 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/0.3262, allocations: 367.6 kB / 0.5589 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003038/0.3265, allocations: 376 kB / 0.5593 GB, free: 14.65 MB / 474.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.002529/0.3291, allocations: 2.033 MB / 0.5613 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.3295, allocations: 333.7 kB / 0.5616 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.3308, allocations: 1.313 MB / 0.5629 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.3308, allocations: 19.39 kB / 0.5629 GB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3308, allocations: 0 / 0.5629 GB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.3308, allocations: 11.97 kB / 0.5629 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005341/0.3361, allocations: 4.739 MB / 0.5675 GB, free: 5.949 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.3362, allocations: 23.94 kB / 0.5676 GB, free: 5.926 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.3367, allocations: 275.5 kB / 0.5678 GB, free: 5.656 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/0.3367, allocations: 24 kB / 0.5678 GB, free: 5.633 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.3367, allocations: 55.81 kB / 0.5679 GB, free: 5.582 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.719e-05/0.3368, allocations: 39.86 kB / 0.5679 GB, free: 5.543 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/0.3368, allocations: 27.81 kB / 0.568 GB, free: 5.516 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.3391, allocations: 3.225 MB / 0.5711 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006901/0.3398, allocations: 469.6 kB / 0.5716 GB, free: 1.582 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.34, allocations: 49.55 kB / 0.5716 GB, free: 1.535 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007237/0.3407, allocations: 107.9 kB / 0.5717 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.3409, allocations: 155.3 kB / 0.5719 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.068e-05/0.3409, allocations: 62.58 kB / 0.5719 GB, free: 1.219 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002496/0.3434, allocations: 2.355 MB / 0.5742 GB, free: 14.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3434, allocations: 0 / 0.5742 GB, free: 14.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00342/0.3468, allocations: 1.008 MB / 0.5752 GB, free: 13.87 MB / 490.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.0003718/0.3472, allocations: 220.1 kB / 0.5754 GB, free: 13.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003703/0.3509, allocations: 3.674 MB / 0.579 GB, free: 10.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.3509, allocations: 4 kB / 0.579 GB, free: 10 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000587/0.3515, allocations: 0.7076 MB / 0.5797 GB, free: 9.301 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.3531, allocations: 412.1 kB / 0.5801 GB, free: 8.902 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009713/0.3628, allocations: 9.128 MB / 0.589 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/0.365, allocations: 2.645 MB / 0.5916 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005763/0.3656, allocations: 276.5 kB / 0.5918 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of SimCode: time 1.513e-06/0.3656, allocations: 0 / 0.5918 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.2134/0.579, allocations: 54.78 MB / 0.6453 GB, free: 167.6 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.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: 7.427254161797464]