Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009652/0.0009653, allocations: 99.62 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.001074/0.001074, 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.359/1.359, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3005/0.3005, allocations: 39.99 MB / 310.4 MB, free: 9.949 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.0005863/0.0005864, allocations: 20 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1205, allocations: 57.95 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.2685/0.3891, allocations: 62.68 MB / 499.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03486/0.424, allocations: 14.66 MB / 0.5021 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01747/0.4415, allocations: 327.8 kB / 0.5024 GB, free: 4.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01196/0.4535, allocations: 3.086 MB / 0.5054 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0378/0.4914, allocations: 8.939 MB / 0.5141 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00693/0.4983, allocations: 1.262 MB / 0.5153 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04475/0.5431, allocations: 28.11 MB / 0.5428 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01145/0.5546, allocations: 6.346 MB / 0.549 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004353/0.5591, allocations: 1.861 MB / 0.5508 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004643/0.5637, allocations: 2.66 MB / 0.5534 GB, free: 256 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001526/0.5653, allocations: 248 kB / 0.5536 GB, free: 8 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003367/0.5687, allocations: 1.159 MB / 0.5548 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002925/0.5716, allocations: 2.79 MB / 0.5575 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00208/0.5737, allocations: 1.314 MB / 0.5588 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009993/0.5837, allocations: 8.888 MB / 0.5675 GB, free: 1.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5838, allocations: 0 / 0.5675 GB, free: 1.816 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5838, allocations: 0 / 0.5675 GB, free: 1.816 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004006/0.5842, allocations: 0 / 0.5675 GB, free: 1.816 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.01892/0.6031, allocations: 7.38 MB / 0.5747 GB, free: 10.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.6032, allocations: 12.03 kB / 0.5747 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1612/0.7644, allocations: 15.1 MB / 0.5894 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01581/0.7803, allocations: 6.196 MB / 0.5955 GB, free: 4.941 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003734/0.7807, allocations: 369.5 kB / 0.5958 GB, free: 4.578 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003253/0.784, allocations: 0.5151 MB / 0.5963 GB, free: 4.062 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03494/0.8189, allocations: 16.34 MB / 0.6123 GB, free: 2.652 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004034/0.8194, allocations: 79.22 kB / 0.6124 GB, free: 2.574 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001664/0.8211, allocations: 239.8 kB / 0.6126 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004964/0.826, allocations: 2.927 MB / 0.6155 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03207/0.8581, allocations: 13.7 MB / 0.6288 GB, free: 1.684 MB / 494.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.3265/1.185, allocations: 64.5 MB / 0.6918 GB, free: 95.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02255/1.207, allocations: 7.862 MB / 0.6995 GB, free: 93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0292/1.237, allocations: 18.94 MB / 0.718 GB, free: 82.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.54e-05/1.237, allocations: 63.19 kB / 0.718 GB, free: 82.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=287): time 6.533e-06/1.237, allocations: 0 / 0.718 GB, free: 82.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=370): time 0.1756/1.412, allocations: 51.86 MB / 0.7687 GB, free: 36.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.596e-05/1.412, allocations: 273.8 kB / 0.7689 GB, free: 36.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/1.424, allocations: 6.563 MB / 0.7754 GB, free: 29.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001072/1.425, allocations: 85.7 kB / 0.7754 GB, free: 29.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00341/1.428, allocations: 4.76 MB / 0.7801 GB, free: 24.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002076/1.43, allocations: 1.357 MB / 0.7814 GB, free: 23.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/1.432, allocations: 184 kB / 0.7816 GB, free: 23.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0009024/1.433, allocations: 0.6947 MB / 0.7823 GB, free: 22.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006562/1.439, allocations: 3.887 MB / 0.7861 GB, free: 18.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008985/1.448, allocations: 9.091 MB / 0.7949 GB, free: 6.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008821/1.457, allocations: 5.752 MB / 0.8006 GB, free: 1.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002064/1.457, allocations: 55.95 kB / 0.8006 GB, free: 1.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.04075/1.498, allocations: 16.33 MB / 0.8166 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000278/1.498, allocations: 83.98 kB / 0.8166 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003618/1.499, allocations: 184 kB / 0.8168 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2762/1.775, allocations: 4.107 MB / 0.8208 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007265/1.782, allocations: 2.065 MB / 0.8228 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03223/1.815, allocations: 22.74 MB / 0.8451 GB, free: 133.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009345/1.824, allocations: 0.5043 MB / 0.8455 GB, free: 133.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002327/1.826, allocations: 0.5345 MB / 0.8461 GB, free: 133.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * 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 (1088): * Single equations (assignments): 1083 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007948/1.834, allocations: 3.129 MB / 0.8491 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/1.836, allocations: 0.5804 MB / 0.8497 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02485/1.861, allocations: 9.837 MB / 0.8593 GB, free: 129 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.482e-05/1.861, allocations: 40.92 kB / 0.8593 GB, free: 129 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-05/1.861, allocations: 22.3 kB / 0.8594 GB, free: 129 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001521/1.861, allocations: 18.22 kB / 0.8594 GB, free: 129 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04304/1.904, allocations: 19.62 MB / 0.8785 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.733e-05/1.904, allocations: 0 / 0.8785 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002836/1.907, allocations: 0.5356 MB / 0.8791 GB, free: 122.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0115/1.919, allocations: 3.668 MB / 0.8826 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007967/1.919, allocations: 62.88 kB / 0.8827 GB, free: 120.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02549/1.945, allocations: 20.66 MB / 0.9029 GB, free: 100.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.945, allocations: 7.969 kB / 0.9029 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0248/1.97, allocations: 14.58 MB / 0.9171 GB, free: 86.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004133/1.974, allocations: 1.174 MB / 0.9183 GB, free: 85.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/1.975, allocations: 59.94 kB / 0.9183 GB, free: 84.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00308/1.978, allocations: 203.7 kB / 0.9185 GB, free: 84.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007628/1.979, allocations: 237 kB / 0.9187 GB, free: 84.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000243/1.979, allocations: 91.98 kB / 0.9188 GB, free: 84.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005807/1.985, allocations: 4.179 MB / 0.9229 GB, free: 80.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.82e-07/1.985, allocations: 0 / 0.9229 GB, free: 80.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009493/1.995, allocations: 1.875 MB / 0.9247 GB, free: 78.4 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 (270): * Single equations (assignments): 265 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008453/1.996, allocations: 240.9 kB / 0.925 GB, free: 78.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01445/2.01, allocations: 9.923 MB / 0.9347 GB, free: 68.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/2.01, allocations: 7.25 kB / 0.9347 GB, free: 68.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00531/2.016, allocations: 3.937 MB / 0.9385 GB, free: 64.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004311/2.02, allocations: 0.7227 MB / 0.9392 GB, free: 63.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02723/2.047, allocations: 18.62 MB / 0.9574 GB, free: 45.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004962/2.052, allocations: 5.024 MB / 0.9623 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006636/2.059, allocations: 2.814 MB / 0.9651 GB, free: 37.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/2.06, allocations: 387.4 kB / 0.9654 GB, free: 36.79 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/2.06, allocations: 0 / 0.9654 GB, free: 36.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.3792/2.439, allocations: 77.16 MB / 1.041 GB, free: 136.3 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) Environment - environmentSimulation: