Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.00104, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3023/0.3023, allocations: 40 MB / 310.4 MB, free: 9.672 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005459/0.000546, allocations: 16 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1227, allocations: 57.96 MB / 436.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.2274/0.3502, allocations: 32.92 MB / 469.7 MB, free: 33.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01546/0.3657, allocations: 7.807 MB / 477.5 MB, free: 29.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008244/0.3739, allocations: 154.4 kB / 477.7 MB, free: 29.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006117/0.3801, allocations: 1.592 MB / 479.2 MB, free: 28.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01501/0.3952, allocations: 4.559 MB / 483.8 MB, free: 27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.3973, allocations: 361.2 kB / 484.2 MB, free: 26.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003317/0.4006, allocations: 1.739 MB / 485.9 MB, free: 26.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004628/0.4053, allocations: 3.748 MB / 489.6 MB, free: 24.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.4065, allocations: 0.8371 MB / 490.5 MB, free: 24.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.4078, allocations: 1.109 MB / 491.6 MB, free: 23.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003633/0.4082, allocations: 128 kB / 491.7 MB, free: 23.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.4094, allocations: 0.7206 MB / 492.4 MB, free: 23.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009573/0.4104, allocations: 1.297 MB / 493.7 MB, free: 23.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007471/0.4111, allocations: 0.7614 MB / 494.5 MB, free: 22.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006146/0.4173, allocations: 4.78 MB / 499.3 MB, free: 21.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4173, allocations: 0 / 499.3 MB, free: 21.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.4173, allocations: 0.75 kB / 499.3 MB, free: 21.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002401/0.4176, allocations: 1.25 kB / 499.3 MB, free: 21.74 MB / 382.1 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.009623/0.4272, allocations: 3.621 MB / 0.4911 GB, free: 19.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.4273, allocations: 8.828 kB / 0.4911 GB, free: 19.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.4402, allocations: 2.177 MB / 0.4932 GB, free: 19.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007576/0.4478, allocations: 1.704 MB / 0.4949 GB, free: 18.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003711/0.4482, allocations: 227.8 kB / 0.4951 GB, free: 18.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001921/0.4502, allocations: 300.8 kB / 0.4954 GB, free: 18.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03393/0.4841, allocations: 10.74 MB / 0.5059 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002191/0.4844, allocations: 41.81 kB / 0.5059 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001663/0.4861, allocations: 150.3 kB / 0.5061 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006264/0.4924, allocations: 2.041 MB / 0.5081 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02252/0.515, allocations: 9.439 MB / 0.5173 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05231/0.5673, allocations: 38.49 MB / 0.5549 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/0.5865, allocations: 6.816 MB / 0.5615 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.5978, allocations: 6.395 MB / 0.5678 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/0.5979, allocations: 55.81 kB / 0.5678 GB, free: 15.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 5.981e-06/0.598, allocations: 4 kB / 0.5678 GB, free: 15.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.08332/0.6813, allocations: 28.13 MB / 0.5953 GB, free: 2.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.739e-05/0.6814, allocations: 149.8 kB / 0.5955 GB, free: 2.664 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006209/0.6876, allocations: 3.371 MB / 0.5988 GB, free: 15.29 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006044/0.6883, allocations: 57.64 kB / 0.5988 GB, free: 15.22 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002099/0.6904, allocations: 2.801 MB / 0.6015 GB, free: 12.38 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001206/0.6916, allocations: 0.7905 MB / 0.6023 GB, free: 11.58 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007023/0.6923, allocations: 116 kB / 0.6024 GB, free: 11.46 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0005044/0.6929, allocations: 0.5541 MB / 0.603 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004236/0.6971, allocations: 2.413 MB / 0.6053 GB, free: 8.484 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007126/0.7043, allocations: 5.835 MB / 0.611 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007033/0.7114, allocations: 3.674 MB / 0.6146 GB, free: 13.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001723/0.7116, allocations: 40 kB / 0.6146 GB, free: 13.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01918/0.7308, allocations: 8.829 MB / 0.6233 GB, free: 4.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.731, allocations: 60.03 kB / 0.6233 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001892/0.7312, allocations: 120 kB / 0.6234 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002823/0.734, allocations: 1.057 MB / 0.6245 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005247/0.7393, allocations: 1.392 MB / 0.6258 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2424/0.9817, allocations: 5.512 MB / 0.6312 GB, free: 116 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005675/0.9874, allocations: 347.2 kB / 0.6315 GB, free: 116 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008646/0.9883, allocations: 356.2 kB / 0.6319 GB, free: 116 MB / 494.1 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003813/0.9921, allocations: 1.942 MB / 0.6338 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006274/0.9927, allocations: 313.2 kB / 0.6341 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006552/0.9993, allocations: 4.157 MB / 0.6381 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.363e-05/0.9993, allocations: 25.94 kB / 0.6382 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.9994, allocations: 11 kB / 0.6382 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/0.9994, allocations: 12.8 kB / 0.6382 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/1.014, allocations: 9.254 MB / 0.6472 GB, free: 115.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.015, allocations: 3.031 kB / 0.6472 GB, free: 115.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.016, allocations: 367.3 kB / 0.6476 GB, free: 115.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002206/1.018, allocations: 0.8721 MB / 0.6484 GB, free: 115.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000199/1.019, allocations: 34.69 kB / 0.6485 GB, free: 115.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004333/1.023, allocations: 4.847 MB / 0.6532 GB, free: 112.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.023, allocations: 1.156 kB / 0.6532 GB, free: 112.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/1.034, allocations: 7.279 MB / 0.6603 GB, free: 111.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002234/1.036, allocations: 0.7108 MB / 0.661 GB, free: 110.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005193/1.037, allocations: 32.97 kB / 0.661 GB, free: 110.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/1.038, allocations: 140.5 kB / 0.6612 GB, free: 110.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/1.038, allocations: 118.2 kB / 0.6613 GB, free: 110.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/1.039, allocations: 58.12 kB / 0.6613 GB, free: 110.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003434/1.042, allocations: 2.069 MB / 0.6634 GB, free: 110.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.042, allocations: 0 / 0.6634 GB, free: 110.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005093/1.047, allocations: 0.9812 MB / 0.6643 GB, free: 109.9 MB / 494.1 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004571/1.048, allocations: 175.7 kB / 0.6645 GB, free: 109.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009903/1.057, allocations: 6.275 MB / 0.6706 GB, free: 107.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.057, allocations: 0.9062 kB / 0.6706 GB, free: 107.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00385/1.061, allocations: 2.563 MB / 0.6731 GB, free: 106.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/1.063, allocations: 308.4 kB / 0.6734 GB, free: 106.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/1.078, allocations: 10.88 MB / 0.684 GB, free: 100.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00259/1.08, allocations: 3.106 MB / 0.6871 GB, free: 99.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004122/1.084, allocations: 1.87 MB / 0.6889 GB, free: 98.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007129/1.085, allocations: 241.7 kB / 0.6891 GB, free: 98.76 MB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/1.085, allocations: 0 / 0.6891 GB, free: 98.76 MB / 494.1 MB Notification: Performance of Templates: time 0.05021/1.135, allocations: 35.03 MB / 0.7233 GB, free: 65.17 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) Environment - environmentSimulation: