Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001371/0.001371, allocations: 81.88 kB / 21.42 MB, free: 3.074 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.001524/0.001524, allocations: 168.6 kB / 24.82 MB, free: 8.926 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 1.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2472/0.2472, allocations: 34.27 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.637e-06/3.637e-06, allocations: 4 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.95e-05, allocations: 2.312 kB / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.007632/0.007652, allocations: 9.952 MB / 388.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.01153, allocations: 3.154 MB / 391.6 MB, free: 5.211 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005851/0.01212, allocations: 63.69 kB / 391.7 MB, free: 5.148 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002425/0.01454, allocations: 2.507 MB / 394.2 MB, free: 2.633 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.01615, allocations: 1.309 MB / 395.5 MB, free: 1.316 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007054/0.01686, allocations: 0.5377 MB / 396 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002136/0.01899, allocations: 2.993 MB / 399 MB, free: 13.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/0.02085, allocations: 2.524 MB / 401.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.02238, allocations: 1.999 MB / 403.6 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.02374, allocations: 1.617 MB / 405.2 MB, free: 7.578 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002897/0.02403, allocations: 284 kB / 405.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.02509, allocations: 0.9438 MB / 406.4 MB, free: 6.355 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009071/0.02599, allocations: 1.667 MB / 408.1 MB, free: 4.684 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008313/0.02682, allocations: 1.09 MB / 409.1 MB, free: 3.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003099/0.02992, allocations: 3.95 MB / 413.1 MB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.02993, allocations: 0 / 413.1 MB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.02993, allocations: 0 / 413.1 MB, free: 15.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.099e-05/0.02998, allocations: 0 / 413.1 MB, free: 15.62 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.00426/0.03424, allocations: 4.529 MB / 417.6 MB, free: 11.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.03428, allocations: 8.031 kB / 417.6 MB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/0.03667, allocations: 1.321 MB / 419 MB, free: 9.699 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.03808, allocations: 1.51 MB / 420.5 MB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.0382, allocations: 230.2 kB / 420.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003099/0.03851, allocations: 300.2 kB / 421 MB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005903/0.04441, allocations: 5.448 MB / 426.4 MB, free: 1.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.945e-05/0.04447, allocations: 31.73 kB / 426.5 MB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/0.04469, allocations: 143.9 kB / 426.6 MB, free: 1.156 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001351/0.04604, allocations: 1.736 MB / 428.3 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004143/0.05018, allocations: 2.577 MB / 430.9 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1843/0.2345, allocations: 39.88 MB / 470.8 MB, free: 61.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004119/0.2386, allocations: 2.124 MB / 472.9 MB, free: 61.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.2391, allocations: 0.4968 MB / 473.4 MB, free: 61.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003402/0.2425, allocations: 3.885 MB / 477.3 MB, free: 59.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.2425, allocations: 60.97 kB / 477.4 MB, free: 59.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 2.955e-06/0.2425, allocations: 6.844 kB / 477.4 MB, free: 59.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.01869/0.2612, allocations: 8.906 MB / 486.3 MB, free: 58.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.2612, allocations: 144.6 kB / 486.4 MB, free: 58.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.2634, allocations: 3.033 MB / 489.4 MB, free: 57.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.2634, allocations: 55.33 kB / 489.5 MB, free: 57.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009584/0.2644, allocations: 3.215 MB / 492.7 MB, free: 54.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.2647, allocations: 0.7079 MB / 493.4 MB, free: 54.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009696/0.2657, allocations: 1.297 MB / 494.7 MB, free: 53.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.2658, allocations: 0.5303 MB / 495.3 MB, free: 53.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007196/0.2665, allocations: 0.5 MB / 495.8 MB, free: 53.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002815/0.2693, allocations: 5.993 MB / 0.49 GB, free: 45.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004095/0.2734, allocations: 7.285 MB / 0.4971 GB, free: 37.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.478e-05/0.2734, allocations: 38.16 kB / 0.4971 GB, free: 37.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.005172/0.2786, allocations: 4.803 MB / 0.5018 GB, free: 35.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.2787, allocations: 60.44 kB / 0.5019 GB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/0.2788, allocations: 129.9 kB / 0.502 GB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005474/0.2793, allocations: 324 kB / 0.5023 GB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.2812, allocations: 1.346 MB / 0.5036 GB, free: 35.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001125/0.2813, allocations: 256.7 kB / 0.5039 GB, free: 35.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.2828, allocations: 262.5 kB / 0.5041 GB, free: 35.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.283, allocations: 323.7 kB / 0.5044 GB, free: 35.53 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.0007284/0.2838, allocations: 0.6453 MB / 0.5051 GB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.284, allocations: 336.5 kB / 0.5054 GB, free: 34.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.2852, allocations: 1.082 MB / 0.5064 GB, free: 34.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.2852, allocations: 15.66 kB / 0.5065 GB, free: 34.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2852, allocations: 3.938 kB / 0.5065 GB, free: 34.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.2852, allocations: 10.92 kB / 0.5065 GB, free: 34.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004352/0.2896, allocations: 4.295 MB / 0.5107 GB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.2896, allocations: 10.86 kB / 0.5107 GB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/0.2901, allocations: 244.9 kB / 0.5109 GB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004269/0.2905, allocations: 155.2 kB / 0.5111 GB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/0.2906, allocations: 34.36 kB / 0.5111 GB, free: 32.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.2906, allocations: 10.09 kB / 0.5111 GB, free: 32.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2906, allocations: 3.094 kB / 0.5111 GB, free: 32.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.2924, allocations: 2.122 MB / 0.5132 GB, free: 31.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.2926, allocations: 241.5 kB / 0.5134 GB, free: 30.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.2927, allocations: 25.27 kB / 0.5134 GB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.2931, allocations: 36.08 kB / 0.5135 GB, free: 30.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.2933, allocations: 99.7 kB / 0.5136 GB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.2933, allocations: 42.67 kB / 0.5136 GB, free: 30.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009143/0.2942, allocations: 1.155 MB / 0.5147 GB, free: 29.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2942, allocations: 0 / 0.5147 GB, free: 29.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001973/0.2962, allocations: 0.8411 MB / 0.5156 GB, free: 29.05 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.0002466/0.2965, allocations: 156 kB / 0.5157 GB, free: 28.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002711/0.2992, allocations: 2.673 MB / 0.5183 GB, free: 26.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2992, allocations: 0 / 0.5183 GB, free: 26.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000756/0.2999, allocations: 0.6359 MB / 0.5189 GB, free: 26.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009216/0.3008, allocations: 292 kB / 0.5192 GB, free: 25.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007844/0.3087, allocations: 6.939 MB / 0.526 GB, free: 19.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009643/0.3097, allocations: 1.092 MB / 0.5271 GB, free: 18.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009291/0.3106, allocations: 441.6 kB / 0.5275 GB, free: 18.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/0.3111, allocations: 0.5109 MB / 0.528 GB, free: 17.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3111, allocations: 0 / 0.528 GB, free: 17.75 MB / 410.7 MB Notification: Performance of Templates: time 0.03345/0.3446, allocations: 23.4 MB / 0.5508 GB, free: 12.58 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.026736301835626]