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.001016/0.001016, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001095/0.001095, allocations: 162.1 kB / 24.99 MB, free: 9.324 MB / 18.57 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 0.921/0.921, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.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.2487/0.2487, allocations: 32.81 MB / 294.6 MB, free: 1.285 MB / 266.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.323e-06/1.323e-06, allocations: 0 / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.605e-05, allocations: 2.312 kB / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01905/0.01906, allocations: 10.18 MB / 386.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.03086, allocations: 3.17 MB / 389.4 MB, free: 7.566 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004005/0.03486, allocations: 59.75 kB / 389.4 MB, free: 7.508 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006498/0.04136, allocations: 2.542 MB / 392 MB, free: 4.957 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003369/0.04473, allocations: 1.302 MB / 393.3 MB, free: 3.648 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008946/0.04562, allocations: 0.5377 MB / 393.8 MB, free: 3.109 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002851/0.04847, allocations: 2.994 MB / 396.8 MB, free: 112 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.05081, allocations: 2.528 MB / 399.3 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.05227, allocations: 1.914 MB / 401.2 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.05362, allocations: 1.695 MB / 402.9 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002778/0.0539, allocations: 296 kB / 403.2 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009652/0.05486, allocations: 0.9517 MB / 404.2 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008818/0.05575, allocations: 1.687 MB / 405.9 MB, free: 6.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007723/0.05652, allocations: 1.094 MB / 406.9 MB, free: 5.883 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.05928, allocations: 4.008 MB / 411 MB, free: 1.859 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.05929, allocations: 4 kB / 411 MB, free: 1.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.05929, allocations: 0 / 411 MB, free: 1.855 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.669e-05/0.05933, allocations: 0 / 411 MB, free: 1.855 MB / 378.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.004328/0.06365, allocations: 4.574 MB / 415.5 MB, free: 13.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.06369, allocations: 11.97 kB / 415.5 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003852/0.06754, allocations: 2.276 MB / 417.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.0693, allocations: 1.657 MB / 419.5 MB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.06942, allocations: 226.2 kB / 419.7 MB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/0.06976, allocations: 299.2 kB / 420 MB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00828/0.07804, allocations: 6.802 MB / 426.8 MB, free: 1.055 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.508e-05/0.07811, allocations: 39.67 kB / 426.8 MB, free: 1.016 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002525/0.07836, allocations: 139.9 kB / 427 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001938/0.0803, allocations: 2.04 MB / 429 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007612/0.08791, allocations: 4.227 MB / 433.2 MB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1618/0.2497, allocations: 40.13 MB / 473.4 MB, free: 68.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004839/0.2546, allocations: 2.464 MB / 475.8 MB, free: 67.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008019/0.2554, allocations: 0.7561 MB / 476.6 MB, free: 67.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003239/0.2586, allocations: 4.057 MB / 480.6 MB, free: 65.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.2586, allocations: 48.98 kB / 480.7 MB, free: 64.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 2.795e-06/0.2586, allocations: 6.578 kB / 480.7 MB, free: 64.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.02932/0.288, allocations: 15.65 MB / 496.4 MB, free: 60.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.288, allocations: 149.5 kB / 496.5 MB, free: 60.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00274/0.2907, allocations: 2.868 MB / 499.4 MB, free: 59.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.2908, allocations: 56.33 kB / 499.4 MB, free: 59.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.2919, allocations: 3.064 MB / 0.4907 GB, free: 56.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004738/0.2924, allocations: 0.8522 MB / 0.4915 GB, free: 56.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/0.2936, allocations: 1.289 MB / 0.4928 GB, free: 55.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.2937, allocations: 0.5314 MB / 0.4933 GB, free: 55.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.295, allocations: 0.764 MB / 0.4941 GB, free: 54.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002653/0.2976, allocations: 5.869 MB / 0.4998 GB, free: 48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004498/0.3021, allocations: 7.378 MB / 0.507 GB, free: 40.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.292e-05/0.3022, allocations: 38.88 kB / 0.507 GB, free: 40.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.006449/0.3086, allocations: 5.583 MB / 0.5125 GB, free: 38.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.744e-05/0.3087, allocations: 58.84 kB / 0.5125 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.249e-05/0.3088, allocations: 122 kB / 0.5127 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.3102, allocations: 0.6379 MB / 0.5133 GB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/0.3124, allocations: 1.373 MB / 0.5146 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.3147, allocations: 4.69 MB / 0.5192 GB, free: 32.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.3168, allocations: 328.8 kB / 0.5195 GB, free: 31.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/0.3171, allocations: 362.3 kB / 0.5199 GB, free: 31.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * 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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001052/0.3181, allocations: 0.6387 MB / 0.5205 GB, free: 30.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004107/0.3185, allocations: 342.6 kB / 0.5208 GB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.3215, allocations: 2.014 MB / 0.5228 GB, free: 28.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.3215, allocations: 24 kB / 0.5228 GB, free: 28.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.3215, allocations: 4 kB / 0.5228 GB, free: 28.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.3215, allocations: 9.141 kB / 0.5228 GB, free: 28.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006524/0.3281, allocations: 5.495 MB / 0.5282 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.3281, allocations: 2.766 kB / 0.5282 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008327/0.3289, allocations: 349.2 kB / 0.5285 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.3299, allocations: 483.3 kB / 0.529 GB, free: 23.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.599e-05/0.33, allocations: 36 kB / 0.529 GB, free: 23.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.3318, allocations: 4.076 MB / 0.533 GB, free: 19.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3318, allocations: 0 / 0.533 GB, free: 19.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003428/0.3352, allocations: 3.123 MB / 0.536 GB, free: 16.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.3354, allocations: 253.5 kB / 0.5363 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.3356, allocations: 32 kB / 0.5363 GB, free: 16.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006651/0.3363, allocations: 118 kB / 0.5364 GB, free: 16.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.3365, allocations: 126.9 kB / 0.5366 GB, free: 16.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.33e-05/0.3366, allocations: 55.84 kB / 0.5366 GB, free: 16.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009976/0.3376, allocations: 1.182 MB / 0.5378 GB, free: 15.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3376, allocations: 0 / 0.5378 GB, free: 15.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00295/0.3406, allocations: 0.9487 MB / 0.5387 GB, free: 14.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003106/0.3409, allocations: 166.1 kB / 0.5388 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004253/0.3451, allocations: 3.68 MB / 0.5424 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3451, allocations: 0 / 0.5424 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.3467, allocations: 1.433 MB / 0.5438 GB, free: 8.969 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/0.3477, allocations: 304.9 kB / 0.5441 GB, free: 8.688 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007042/0.3547, allocations: 7.227 MB / 0.5512 GB, free: 1.402 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/0.3554, allocations: 1.129 MB / 0.5523 GB, free: 256 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002197/0.3576, allocations: 1.529 MB / 0.5538 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/0.3582, allocations: 224.4 kB / 0.554 GB, free: 14.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.323e-06/0.3582, allocations: 0 / 0.554 GB, free: 14.5 MB / 426.7 MB Notification: Performance of Templates: time 0.04069/0.3989, allocations: 29.9 MB / 0.5832 GB, free: 1.086 MB / 442.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 -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.217262255959213]