Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0007981/0.0007981, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001874, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007033/0.0007033, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000911/0.001614, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.112/1.112, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1198/1.232, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3557/0.3557, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03274/0.3885, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.548e-05, allocations: 2.312 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01371/0.01374, allocations: 10.08 MB / 300.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.02475, allocations: 3.326 MB / 304 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003279/0.02802, allocations: 63.75 kB / 304.1 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005967/0.03399, allocations: 2.417 MB / 306.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005857/0.03985, allocations: 1.301 MB / 307.8 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.04232, allocations: 0.522 MB / 308.3 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006496/0.04882, allocations: 2.982 MB / 311.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004868/0.05369, allocations: 2.497 MB / 313.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004879/0.05857, allocations: 2.055 MB / 315.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.06087, allocations: 1.539 MB / 317.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006122/0.06148, allocations: 284 kB / 317.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.06303, allocations: 0.9556 MB / 318.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001328/0.06436, allocations: 1.496 MB / 320.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.06569, allocations: 0.8995 MB / 321 MB, free: 9.707 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004471/0.07016, allocations: 3.701 MB / 324.7 MB, free: 5.992 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.218e-05/0.07019, allocations: 0 / 324.7 MB, free: 5.992 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.07019, allocations: 0 / 324.7 MB, free: 5.992 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002077/0.0704, allocations: 0 / 324.7 MB, free: 5.992 MB / 314.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.00594/0.07634, allocations: 4.834 MB / 329.6 MB, free: 1.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.07637, allocations: 8.031 kB / 329.6 MB, free: 1.082 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/0.07914, allocations: 1.007 MB / 330.6 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.08193, allocations: 1.344 MB / 331.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.08212, allocations: 222.2 kB / 332.1 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006475/0.08276, allocations: 304.2 kB / 332.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008651/0.09142, allocations: 4.899 MB / 337.3 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/0.09154, allocations: 35.69 kB / 337.4 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002938/0.09183, allocations: 151.8 kB / 337.5 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001662/0.09349, allocations: 1.748 MB / 339.3 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006666/0.1002, allocations: 2.552 MB / 341.8 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03153/0.1317, allocations: 28.91 MB / 370.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004633/0.1363, allocations: 1.942 MB / 372.7 MB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006942/0.137, allocations: 458.2 kB / 373.1 MB, free: 3.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005637/0.1427, allocations: 3.423 MB / 376.5 MB, free: 188 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.1427, allocations: 51.56 kB / 376.6 MB, free: 128 kB / 362.7 MB Notification: Performance of pre-optimization done (n=152): time 5.971e-06/0.1427, allocations: 0 / 376.6 MB, free: 128 kB / 362.7 MB Notification: Performance of matching and sorting (n=166): time 0.01994/0.1627, allocations: 7.521 MB / 384.1 MB, free: 8.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.1627, allocations: 149.5 kB / 384.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.1652, allocations: 2.428 MB / 386.7 MB, free: 5.926 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.1653, allocations: 53.69 kB / 386.7 MB, free: 5.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.1668, allocations: 2.934 MB / 389.7 MB, free: 2.898 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005383/0.1673, allocations: 0.6783 MB / 390.4 MB, free: 2.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001338/0.1687, allocations: 1.116 MB / 391.5 MB, free: 1.086 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1688, allocations: 361.8 kB / 391.8 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008193/0.1696, allocations: 0.629 MB / 392.5 MB, free: 92 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002779/0.1724, allocations: 4.197 MB / 396.6 MB, free: 10.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005129/0.1775, allocations: 5.537 MB / 402.2 MB, free: 2.676 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.444e-05/0.1776, allocations: 40 kB / 402.2 MB, free: 2.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.006352/0.184, allocations: 4.037 MB / 406.3 MB, free: 14.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.969e-05/0.184, allocations: 62.66 kB / 406.3 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/0.1842, allocations: 132 kB / 406.5 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007974/0.185, allocations: 323.3 kB / 406.8 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003487/0.1885, allocations: 1.494 MB / 408.3 MB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000502/0.189, allocations: 259 kB / 408.5 MB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/0.1918, allocations: 259.7 kB / 408.8 MB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004238/0.1923, allocations: 320 kB / 409.1 MB, free: 11.77 MB / 410.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.001404/0.1937, allocations: 0.599 MB / 409.7 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004604/0.1941, allocations: 187.8 kB / 409.9 MB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.1959, allocations: 0.9391 MB / 410.8 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/0.1959, allocations: 19.98 kB / 410.8 MB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.1959, allocations: 8 kB / 410.8 MB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.1959, allocations: 7.969 kB / 410.8 MB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006512/0.2024, allocations: 3.592 MB / 414.4 MB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.2025, allocations: 3.984 kB / 414.4 MB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009994/0.2035, allocations: 291.7 kB / 414.7 MB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005784/0.204, allocations: 238.2 kB / 415 MB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008036/0.2048, allocations: 295.5 kB / 415.2 MB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.2049, allocations: 32 kB / 415.3 MB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/0.205, allocations: 8 kB / 415.3 MB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.205, allocations: 4 kB / 415.3 MB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.2077, allocations: 1.748 MB / 417 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/0.2081, allocations: 24 kB / 417.1 MB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006832/0.2088, allocations: 35.98 kB / 417.1 MB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.209, allocations: 100.7 kB / 417.2 MB, free: 3.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.861e-05/0.2091, allocations: 35.98 kB / 417.2 MB, free: 3.434 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001161/0.2102, allocations: 0.9348 MB / 418.2 MB, free: 2.492 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2102, allocations: 0 / 418.2 MB, free: 2.492 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00384/0.2141, allocations: 0.8397 MB / 419 MB, free: 1.652 MB / 410.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.0003897/0.2145, allocations: 144 kB / 419.1 MB, free: 1.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004456/0.2189, allocations: 2.451 MB / 421.6 MB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002377/0.2192, allocations: 108.8 kB / 421.7 MB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.2204, allocations: 0.5478 MB / 422.2 MB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.2222, allocations: 476.7 kB / 422.7 MB, free: 13.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/0.2374, allocations: 7.149 MB / 429.9 MB, free: 6.688 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.2391, allocations: 1.094 MB / 431 MB, free: 5.574 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001434/0.2405, allocations: 448.9 kB / 431.4 MB, free: 5.133 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007231/0.2413, allocations: 481.3 kB / 431.9 MB, free: 4.66 MB / 426.7 MB Notification: Performance of SimCode: time 3.046e-06/0.2413, allocations: 0 / 431.9 MB, free: 4.66 MB / 426.7 MB Notification: Performance of Templates: time 0.2361/0.4773, allocations: 23.85 MB / 455.7 MB, free: 118.2 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.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.237451289780438]