Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006966/0.006966, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.00127/0.001271, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.734/1.734, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.3459/0.3459, allocations: 39.94 MB / 309.8 MB, free: 9.645 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.001757/0.001757, allocations: 67.91 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3123, allocations: 56.88 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01468/0.327, allocations: 15.04 MB / 0.4958 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.3403, allocations: 5.016 MB / 0.5007 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004838/0.3452, allocations: 98.25 kB / 0.5008 GB, free: 5.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00836/0.3536, allocations: 4.021 MB / 0.5047 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.3645, allocations: 2.357 MB / 0.507 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003345/0.3678, allocations: 1.164 MB / 0.5082 GB, free: 116 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01121/0.3791, allocations: 6.165 MB / 0.5142 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009241/0.3883, allocations: 4.709 MB / 0.5188 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005394/0.3938, allocations: 2.227 MB / 0.521 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005111/0.3989, allocations: 3.03 MB / 0.5239 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001972/0.401, allocations: 456 kB / 0.5244 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004493/0.4055, allocations: 1.537 MB / 0.5259 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004044/0.4095, allocations: 2.72 MB / 0.5285 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006715/0.4163, allocations: 3.018 MB / 0.5315 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01547/0.4318, allocations: 9.456 MB / 0.5407 GB, free: 3.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4318, allocations: 3.938 kB / 0.5407 GB, free: 3.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4318, allocations: 0 / 0.5407 GB, free: 3.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004082/0.4323, allocations: 4 kB / 0.5407 GB, free: 3.129 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.0188/0.4511, allocations: 6.749 MB / 0.5473 GB, free: 12.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.4511, allocations: 15.89 kB / 0.5473 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02755/0.4787, allocations: 3.297 MB / 0.5505 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01473/0.4935, allocations: 4.289 MB / 0.5547 GB, free: 4.629 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.4938, allocations: 308.4 kB / 0.555 GB, free: 4.324 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001976/0.4958, allocations: 423.7 kB / 0.5554 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02833/0.5241, allocations: 13.82 MB / 0.5689 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002306/0.5244, allocations: 63.44 kB / 0.569 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008326/0.5252, allocations: 195.8 kB / 0.5692 GB, free: 4.969 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004334/0.5296, allocations: 2.523 MB / 0.5716 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02676/0.5564, allocations: 11.8 MB / 0.5831 GB, free: 6.633 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.364/0.9205, allocations: 53.49 MB / 0.6354 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01762/0.9381, allocations: 5.915 MB / 0.6412 GB, free: 113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00478/0.9429, allocations: 3.597 MB / 0.6447 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0211/0.9641, allocations: 15.43 MB / 0.6597 GB, free: 104.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.9641, allocations: 57.72 kB / 0.6598 GB, free: 104.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=230): time 4.759e-06/0.9641, allocations: 0 / 0.6598 GB, free: 104.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.08349/1.048, allocations: 28.66 MB / 0.6878 GB, free: 92.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/1.048, allocations: 259.3 kB / 0.688 GB, free: 92.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005375/1.053, allocations: 5.088 MB / 0.693 GB, free: 88.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005017/1.054, allocations: 61.7 kB / 0.693 GB, free: 88.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001443/1.055, allocations: 3.888 MB / 0.6968 GB, free: 84.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007953/1.056, allocations: 1.004 MB / 0.6978 GB, free: 83.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001543/1.057, allocations: 1.555 MB / 0.6993 GB, free: 82.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.454e-05/1.058, allocations: 305.1 kB / 0.6996 GB, free: 82.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003146/1.061, allocations: 3.013 MB / 0.7026 GB, free: 79.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004311/1.065, allocations: 7.342 MB / 0.7097 GB, free: 69.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008582/1.074, allocations: 11.09 MB / 0.7206 GB, free: 56.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.1e-05/1.074, allocations: 40 kB / 0.7206 GB, free: 56.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01506/1.089, allocations: 11.2 MB / 0.7316 GB, free: 45.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.275e-05/1.089, allocations: 68 kB / 0.7316 GB, free: 45.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/1.089, allocations: 152 kB / 0.7318 GB, free: 45.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002654/1.092, allocations: 1.234 MB / 0.733 GB, free: 43.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005567/1.097, allocations: 1.829 MB / 0.7348 GB, free: 42.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007502/1.105, allocations: 8.374 MB / 0.7429 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006073/1.111, allocations: 423.4 kB / 0.7433 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.112, allocations: 452 kB / 0.7438 GB, free: 32.57 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (954): * Single equations (assignments): 949 * 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,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003891/1.116, allocations: 2.634 MB / 0.7463 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000881/1.117, allocations: 462 kB / 0.7468 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007497/1.124, allocations: 5.241 MB / 0.7519 GB, free: 24.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.32e-05/1.124, allocations: 28 kB / 0.7519 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/1.124, allocations: 4 kB / 0.7519 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/1.124, allocations: 19.98 kB / 0.7519 GB, free: 24.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02039/1.145, allocations: 11.64 MB / 0.7633 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/1.145, allocations: 3.938 kB / 0.7633 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002644/1.147, allocations: 0.4915 MB / 0.7638 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002471/1.15, allocations: 0.9971 MB / 0.7648 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002656/1.15, allocations: 40 kB / 0.7648 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007025/1.157, allocations: 7.699 MB / 0.7723 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.157, allocations: 3.938 kB / 0.7723 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/1.17, allocations: 8.732 MB / 0.7809 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002322/1.172, allocations: 0.8855 MB / 0.7817 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005872/1.172, allocations: 36 kB / 0.7818 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/1.175, allocations: 175.8 kB / 0.7819 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004045/1.175, allocations: 149.1 kB / 0.7821 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/1.175, allocations: 75.98 kB / 0.7821 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004667/1.18, allocations: 3.182 MB / 0.7852 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/1.18, allocations: 0 / 0.7852 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00562/1.185, allocations: 1.368 MB / 0.7866 GB, free: 4.324 MB / 0.5137 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 (227): * Single equations (assignments): 222 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005792/1.186, allocations: 205.2 kB / 0.7868 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01257/1.199, allocations: 7.324 MB / 0.7939 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.199, allocations: 10.69 kB / 0.7939 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003689/1.202, allocations: 2.554 MB / 0.7964 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/1.206, allocations: 0.5987 MB / 0.797 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/1.228, allocations: 12.77 MB / 0.8095 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005137/1.233, allocations: 4.113 MB / 0.8135 GB, free: 8.688 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006178/1.239, allocations: 2.38 MB / 0.8158 GB, free: 6.301 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/1.24, allocations: 319.4 kB / 0.8161 GB, free: 5.988 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/1.24, allocations: 0 / 0.8161 GB, free: 5.988 MB / 0.545 GB Notification: Performance of Templates: time 0.3175/1.558, allocations: 47.99 MB / 0.863 GB, free: 184.8 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1)