Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.001186/0.001186, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001778/0.002963, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001116/0.001116, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001496/0.002612, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.014/1.014, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.174/1.188, allocations: 49.51 MB / 220.7 MB, free: 1.359 MB / 218.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.1809/0.1809, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0259/0.2068, allocations: 12.3 MB / 266.1 MB, free: 3.883 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.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.391e-05, allocations: 10.25 kB / 267.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.008801/0.008824, allocations: 10.14 MB / 277.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006111/0.01494, allocations: 3.329 MB / 280.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009821/0.01592, allocations: 63.69 kB / 280.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002689/0.01861, allocations: 2.402 MB / 283.3 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.02056, allocations: 1.313 MB / 284.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008533/0.02141, allocations: 0.5299 MB / 285.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1594/0.1808, allocations: 3.011 MB / 288.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002692/0.1835, allocations: 2.508 MB / 290.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002736/0.1863, allocations: 2.082 MB / 292.8 MB, free: 1.574 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.1884, allocations: 1.542 MB / 294.3 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004751/0.1889, allocations: 284.2 kB / 294.6 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.1906, allocations: 0.9473 MB / 295.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.1917, allocations: 1.517 MB / 297.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.1928, allocations: 0.9143 MB / 298 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003509/0.1963, allocations: 3.766 MB / 301.7 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-05/0.1963, allocations: 160 / 301.7 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1963, allocations: 0 / 301.7 MB, free: 0 / 282.7 MB Notification: Performance of Transformations before backend: time 5.736e-05/0.1964, allocations: 128 / 301.7 MB, free: 16 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.004634/0.201, allocations: 4.847 MB / 306.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2011, allocations: 6.688 kB / 306.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.2033, allocations: 1.017 MB / 307.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.2048, allocations: 1.346 MB / 309 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.2049, allocations: 223.3 kB / 309.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003327/0.2053, allocations: 303.2 kB / 309.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005476/0.2107, allocations: 4.882 MB / 314.4 MB, free: 6.664 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.972e-05/0.2108, allocations: 37.3 kB / 314.4 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.211, allocations: 141 kB / 314.5 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001451/0.2125, allocations: 1.644 MB / 316.2 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00478/0.2173, allocations: 2.544 MB / 318.7 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01933/0.2366, allocations: 28.92 MB / 347.6 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/0.2405, allocations: 1.944 MB / 349.6 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004542/0.241, allocations: 456 kB / 350 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003669/0.2446, allocations: 3.415 MB / 353.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.2447, allocations: 54.92 kB / 353.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=152): time 3.847e-06/0.2447, allocations: 0 / 353.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=166): time 0.01739/0.2621, allocations: 7.63 MB / 361.1 MB, free: 8.266 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.2621, allocations: 149.5 kB / 361.3 MB, free: 8.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.264, allocations: 2.448 MB / 363.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.583e-05/0.2641, allocations: 49.64 kB / 363.8 MB, free: 6.066 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.2654, allocations: 2.952 MB / 366.7 MB, free: 3.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003763/0.2658, allocations: 0.6694 MB / 367.4 MB, free: 2.617 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000903/0.2667, allocations: 1.121 MB / 368.5 MB, free: 1.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2668, allocations: 364.7 kB / 368.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007088/0.2675, allocations: 0.629 MB / 369.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002598/0.2701, allocations: 4.182 MB / 373.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00442/0.2745, allocations: 5.954 MB / 379.6 MB, free: 3.105 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.559e-05/0.2746, allocations: 40 kB / 379.7 MB, free: 3.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.004187/0.2788, allocations: 4.041 MB / 383.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.681e-05/0.2788, allocations: 64 kB / 383.8 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/0.2789, allocations: 144 kB / 383.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005744/0.2795, allocations: 319.1 kB / 384.2 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/0.2819, allocations: 1.494 MB / 385.7 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001368/0.282, allocations: 259 kB / 386 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.2836, allocations: 255.7 kB / 386.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002813/0.2839, allocations: 312 kB / 386.5 MB, free: 12.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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 (745): * Single equations (assignments): 740 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001245/0.2852, allocations: 0.6029 MB / 387.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.2854, allocations: 195.7 kB / 387.3 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.2867, allocations: 0.9433 MB / 388.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.2867, allocations: 12.05 kB / 388.3 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.2867, allocations: 7.984 kB / 388.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.2867, allocations: 7.969 kB / 388.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004507/0.2912, allocations: 3.592 MB / 391.9 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.2912, allocations: 8 kB / 391.9 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006823/0.2919, allocations: 292.3 kB / 392.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000393/0.2923, allocations: 341.9 kB / 392.5 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005713/0.2929, allocations: 295.8 kB / 392.8 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.87e-05/0.2929, allocations: 28 kB / 392.8 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/0.2929, allocations: 11.94 kB / 392.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2929, allocations: 4 kB / 392.8 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.2947, allocations: 1.756 MB / 394.6 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.2948, allocations: 32 kB / 394.6 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.2953, allocations: 28 kB / 394.7 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.2954, allocations: 92.81 kB / 394.8 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/0.2954, allocations: 39.97 kB / 394.8 MB, free: 3.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007437/0.2962, allocations: 0.9471 MB / 395.7 MB, free: 2.777 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2962, allocations: 0 / 395.7 MB, free: 2.777 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00222/0.2984, allocations: 0.8514 MB / 396.6 MB, free: 1.926 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,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 (143): * Single equations (assignments): 138 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002965/0.2987, allocations: 156.1 kB / 396.7 MB, free: 1.766 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002598/0.3013, allocations: 2.561 MB / 399.3 MB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001591/0.3015, allocations: 100.8 kB / 399.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008315/0.3023, allocations: 0.6389 MB / 400 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.304, allocations: 1.97 MB / 402 MB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009518/0.3135, allocations: 7.167 MB / 409.2 MB, free: 4.992 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009162/0.3144, allocations: 1.09 MB / 410.3 MB, free: 3.883 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009467/0.3154, allocations: 444.9 kB / 410.7 MB, free: 3.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006201/0.316, allocations: 469.3 kB / 411.2 MB, free: 2.984 MB / 394.7 MB Notification: Performance of SimCode: time 1.553e-06/0.316, allocations: 0 / 411.2 MB, free: 2.984 MB / 394.7 MB Notification: Performance of Templates: time 0.03651/0.3525, allocations: 21.98 MB / 433.1 MB, free: 13 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.449381599202752]