Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001324, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001453/0.001453, allocations: 193.8 kB / 16.14 MB, free: 6.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 222 MB, free: 4.988 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3284/0.3284, allocations: 37.98 MB / 307.3 MB, free: 9.84 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.1. 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.001529/0.001529, allocations: 68.42 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1295, allocations: 56.46 MB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.3174/0.4469, allocations: 73.25 MB / 0.4925 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03888/0.4859, allocations: 14.69 MB / 0.5068 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01797/0.5039, allocations: 329.1 kB / 0.5071 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00991/0.5139, allocations: 4.346 MB / 0.5114 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.5242, allocations: 2.596 MB / 0.5139 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.5286, allocations: 1.354 MB / 0.5152 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01941/0.548, allocations: 11.4 MB / 0.5263 GB, free: 8.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009546/0.5576, allocations: 5.294 MB / 0.5315 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006389/0.5641, allocations: 2.419 MB / 0.5339 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007592/0.5717, allocations: 4.097 MB / 0.5379 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002417/0.5742, allocations: 388 kB / 0.5383 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005311/0.5795, allocations: 1.541 MB / 0.5398 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005734/0.5853, allocations: 3.23 MB / 0.5429 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007212/0.5925, allocations: 3.506 MB / 0.5463 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.6071, allocations: 10.72 MB / 0.5568 GB, free: 12.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.6071, allocations: 7.938 kB / 0.5568 GB, free: 12.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6071, allocations: 0 / 0.5568 GB, free: 12.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004567/0.6076, allocations: 0 / 0.5568 GB, free: 12.44 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.02245/0.6301, allocations: 8.225 MB / 0.5648 GB, free: 4.129 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6301, allocations: 8.031 kB / 0.5649 GB, free: 4.121 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02771/0.6579, allocations: 3.673 MB / 0.5684 GB, free: 444 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/0.6714, allocations: 5.493 MB / 0.5738 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003894/0.6718, allocations: 365.8 kB / 0.5742 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002344/0.6742, allocations: 0.5193 MB / 0.5747 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03542/0.7096, allocations: 16.23 MB / 0.5905 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005242/0.7102, allocations: 83.27 kB / 0.5906 GB, free: 8.598 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00245/0.7126, allocations: 235.8 kB / 0.5908 GB, free: 8.367 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004849/0.7175, allocations: 2.93 MB / 0.5937 GB, free: 5.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02931/0.7468, allocations: 13.68 MB / 0.607 GB, free: 7.723 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3859/1.133, allocations: 64.76 MB / 0.6703 GB, free: 102.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02118/1.154, allocations: 7.816 MB / 0.6779 GB, free: 99.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005598/1.16, allocations: 4.285 MB / 0.6821 GB, free: 98.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04222/1.202, allocations: 19.29 MB / 0.7009 GB, free: 87.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.648e-05/1.202, allocations: 65.94 kB / 0.701 GB, free: 87.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 1.064e-05/1.202, allocations: 1.125 kB / 0.701 GB, free: 87.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=366): time 0.1907/1.393, allocations: 51.91 MB / 0.7517 GB, free: 56.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/1.393, allocations: 273.2 kB / 0.752 GB, free: 56.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01283/1.406, allocations: 6.095 MB / 0.7579 GB, free: 50.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001372/1.407, allocations: 77.7 kB / 0.758 GB, free: 50.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003182/1.41, allocations: 4.682 MB / 0.7626 GB, free: 45.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002285/1.413, allocations: 1.353 MB / 0.7639 GB, free: 44.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00589/1.419, allocations: 1.911 MB / 0.7657 GB, free: 42.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.528e-05/1.419, allocations: 301.1 kB / 0.766 GB, free: 42.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005577/1.424, allocations: 4.199 MB / 0.7701 GB, free: 37.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008778/1.433, allocations: 9.426 MB / 0.7793 GB, free: 25.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01675/1.45, allocations: 14.58 MB / 0.7936 GB, free: 8.758 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000225/1.45, allocations: 52 kB / 0.7936 GB, free: 8.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.04019/1.49, allocations: 17.53 MB / 0.8107 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/1.491, allocations: 84.03 kB / 0.8108 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002739/1.491, allocations: 187.9 kB / 0.811 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01562/1.507, allocations: 4.578 MB / 0.8155 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007688/1.514, allocations: 2.117 MB / 0.8175 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3074/1.822, allocations: 23.7 MB / 0.8407 GB, free: 133.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01149/1.833, allocations: 0.5215 MB / 0.8412 GB, free: 133.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002656/1.836, allocations: 0.5392 MB / 0.8417 GB, free: 133 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (1130): * Single equations (assignments): 1125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,45,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008173/1.844, allocations: 3.12 MB / 0.8448 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001904/1.846, allocations: 0.5634 MB / 0.8453 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03229/1.878, allocations: 10.71 MB / 0.8558 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001025/1.878, allocations: 37.78 kB / 0.8558 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001065/1.879, allocations: 18.52 kB / 0.8558 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001334/1.879, allocations: 17.69 kB / 0.8559 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06756/1.946, allocations: 20.48 MB / 0.8759 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.422e-05/1.946, allocations: 0 / 0.8759 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003329/1.95, allocations: 0.5259 MB / 0.8764 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01462/1.964, allocations: 4.237 MB / 0.8805 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001405/1.966, allocations: 55.56 kB / 0.8806 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03525/2.001, allocations: 21.48 MB / 0.9015 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/2.001, allocations: 3 kB / 0.9015 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03382/2.035, allocations: 15.58 MB / 0.9168 GB, free: 91.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005269/2.04, allocations: 1.173 MB / 0.9179 GB, free: 89.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003121/2.044, allocations: 56 kB / 0.918 GB, free: 89.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005094/2.049, allocations: 223.7 kB / 0.9182 GB, free: 89.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001578/2.05, allocations: 236.2 kB / 0.9184 GB, free: 89.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007755/2.051, allocations: 91.98 kB / 0.9185 GB, free: 89.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008919/2.06, allocations: 3.805 MB / 0.9222 GB, free: 85.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/2.06, allocations: 0 / 0.9222 GB, free: 85.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01561/2.076, allocations: 1.928 MB / 0.9241 GB, free: 83.56 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * 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 (266): * Single equations (assignments): 261 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001666/2.078, allocations: 210.2 kB / 0.9243 GB, free: 83.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0216/2.099, allocations: 10.44 MB / 0.9345 GB, free: 72.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/2.099, allocations: 0 / 0.9345 GB, free: 72.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007918/2.107, allocations: 4.081 MB / 0.9385 GB, free: 68.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01065/2.118, allocations: 0.725 MB / 0.9392 GB, free: 68.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0458/2.164, allocations: 19.64 MB / 0.9584 GB, free: 48.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01088/2.175, allocations: 4.874 MB / 0.9631 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.01065/2.185, allocations: 2.772 MB / 0.9658 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002427/2.188, allocations: 383.4 kB / 0.9662 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of SimCode: time 3.687e-06/2.188, allocations: 0 / 0.9662 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.4674/2.655, allocations: 81.67 MB / 1.046 GB, free: 126.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1)