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.001224/0.001224, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001504/0.001504, allocations: 172.7 kB / 15.95 MB, free: 208 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.863/1.863, 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.4263/0.4263, allocations: 39.99 MB / 310.4 MB, free: 9.91 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.0006109/0.0006111, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1564, allocations: 57.95 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3496/0.506, allocations: 66.45 MB / 0.4915 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03354/0.5396, allocations: 14.02 MB / 0.5051 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01981/0.5595, allocations: 321.2 kB / 0.5054 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01247/0.572, allocations: 3.407 MB / 0.5088 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04147/0.6135, allocations: 10.22 MB / 0.5188 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007636/0.6212, allocations: 1.279 MB / 0.52 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05605/0.6772, allocations: 37.32 MB / 0.5564 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01152/0.6888, allocations: 6.404 MB / 0.5627 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006119/0.695, allocations: 2.25 MB / 0.5649 GB, free: 4.812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006982/0.702, allocations: 3.696 MB / 0.5685 GB, free: 1.105 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002229/0.7043, allocations: 248 kB / 0.5687 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004883/0.7092, allocations: 1.194 MB / 0.5699 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00562/0.7149, allocations: 3 MB / 0.5728 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003423/0.7183, allocations: 1.31 MB / 0.5741 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.7304, allocations: 8.538 MB / 0.5825 GB, free: 2.781 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.7304, allocations: 7.938 kB / 0.5825 GB, free: 2.773 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7304, allocations: 0 / 0.5825 GB, free: 2.773 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005306/0.731, allocations: 0 / 0.5825 GB, free: 2.773 MB / 446.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.01901/0.75, allocations: 6.916 MB / 0.5892 GB, free: 11.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.7501, allocations: 8.031 kB / 0.5892 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02472/0.7748, allocations: 3.766 MB / 0.5929 GB, free: 7.984 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/0.7885, allocations: 5.39 MB / 0.5982 GB, free: 2.516 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000432/0.7889, allocations: 373.5 kB / 0.5985 GB, free: 2.148 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002316/0.7913, allocations: 0.5112 MB / 0.599 GB, free: 1.637 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04013/0.8314, allocations: 16.26 MB / 0.6149 GB, free: 316 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006771/0.8322, allocations: 83.22 kB / 0.615 GB, free: 232 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002561/0.8347, allocations: 231.8 kB / 0.6152 GB, free: 0 / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005224/0.84, allocations: 2.93 MB / 0.6181 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3204/1.16, allocations: 13.7 MB / 0.6314 GB, free: 136.6 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.08449/1.245, allocations: 64.81 MB / 0.6947 GB, free: 95.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02391/1.269, allocations: 7.963 MB / 0.7025 GB, free: 93.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007554/1.276, allocations: 4.338 MB / 0.7067 GB, free: 91.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03329/1.31, allocations: 19.36 MB / 0.7257 GB, free: 79.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/1.31, allocations: 67.81 kB / 0.7257 GB, free: 79.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 5.26e-06/1.31, allocations: 0.6562 kB / 0.7257 GB, free: 79.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=372): time 0.1592/1.469, allocations: 50.56 MB / 0.7751 GB, free: 31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.469, allocations: 273.8 kB / 0.7754 GB, free: 30.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0122/1.481, allocations: 6.055 MB / 0.7813 GB, free: 24.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001152/1.483, allocations: 81.7 kB / 0.7813 GB, free: 24.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003459/1.486, allocations: 4.679 MB / 0.7859 GB, free: 19.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002845/1.489, allocations: 1.371 MB / 0.7872 GB, free: 18.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002176/1.491, allocations: 192 kB / 0.7874 GB, free: 18.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.001247/1.493, allocations: 0.7164 MB / 0.7881 GB, free: 17.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007638/1.5, allocations: 4.184 MB / 0.7922 GB, free: 13.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009883/1.51, allocations: 9.418 MB / 0.8014 GB, free: 1.422 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/1.521, allocations: 6.07 MB / 0.8073 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001952/1.521, allocations: 56 kB / 0.8074 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.3224/1.843, allocations: 17.49 MB / 0.8245 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/1.844, allocations: 87.08 kB / 0.8246 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002523/1.844, allocations: 188.4 kB / 0.8247 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01379/1.858, allocations: 4.61 MB / 0.8292 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007613/1.865, allocations: 2.128 MB / 0.8313 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03571/1.901, allocations: 23.73 MB / 0.8545 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008589/1.91, allocations: 0.5317 MB / 0.855 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00245/1.912, allocations: 0.5375 MB / 0.8555 GB, free: 130.4 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 (1136): * Single equations (assignments): 1131 * 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,(2,100.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008659/1.921, allocations: 3.121 MB / 0.8586 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001701/1.922, allocations: 0.5645 MB / 0.8591 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02172/1.944, allocations: 10.73 MB / 0.8696 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.776e-05/1.944, allocations: 36.97 kB / 0.8697 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-05/1.944, allocations: 19.69 kB / 0.8697 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.972e-05/1.945, allocations: 19.08 kB / 0.8697 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04096/1.985, allocations: 20.55 MB / 0.8898 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.12e-05/1.986, allocations: 0 / 0.8898 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002718/1.988, allocations: 0.5344 MB / 0.8903 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01194/2, allocations: 4.218 MB / 0.8944 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008589/2.001, allocations: 63.98 kB / 0.8945 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02677/2.028, allocations: 21.56 MB / 0.9155 GB, free: 88.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/2.028, allocations: 0 / 0.9155 GB, free: 88.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02569/2.054, allocations: 15.63 MB / 0.9308 GB, free: 73.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003406/2.057, allocations: 1.19 MB / 0.9319 GB, free: 72.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001862/2.059, allocations: 60 kB / 0.932 GB, free: 72.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003679/2.063, allocations: 222.7 kB / 0.9322 GB, free: 71.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001076/2.064, allocations: 230.2 kB / 0.9324 GB, free: 71.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004435/2.064, allocations: 91.98 kB / 0.9325 GB, free: 71.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007191/2.071, allocations: 3.773 MB / 0.9362 GB, free: 67.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.01e-07/2.071, allocations: 0 / 0.9362 GB, free: 67.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01107/2.083, allocations: 1.934 MB / 0.9381 GB, free: 65.88 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 (272): * Single equations (assignments): 267 * 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.001118/2.084, allocations: 222.9 kB / 0.9383 GB, free: 65.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01605/2.1, allocations: 10.45 MB / 0.9485 GB, free: 55.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.567e-06/2.1, allocations: 0 / 0.9485 GB, free: 55.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005881/2.106, allocations: 4.114 MB / 0.9525 GB, free: 51.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005601/2.111, allocations: 0.7531 MB / 0.9533 GB, free: 50.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03118/2.143, allocations: 19.03 MB / 0.9718 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007859/2.15, allocations: 4.881 MB / 0.9766 GB, free: 26.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008798/2.159, allocations: 2.785 MB / 0.9793 GB, free: 23.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/2.161, allocations: 383.4 kB / 0.9797 GB, free: 23.17 MB / 0.4981 GB Notification: Performance of SimCode: time 3.507e-06/2.161, allocations: 0 / 0.9797 GB, free: 23.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.3975/2.559, allocations: 78.65 MB / 1.056 GB, free: 138.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: