Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0008443/0.0008443, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004918/0.004918, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.334/1.334, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.2937/0.2937, allocations: 38.05 MB / 308.8 MB, free: 10.32 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.000512/0.0005121, allocations: 19.98 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09813/0.09865, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.2229/0.3216, allocations: 62.36 MB / 496.9 MB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02182/0.3435, allocations: 13.02 MB / 0.498 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00981/0.3533, allocations: 283.8 kB / 0.4983 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.3549, allocations: 0.5465 MB / 0.4988 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.3594, allocations: 2.22 MB / 0.501 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.3613, allocations: 1.065 MB / 0.502 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009671/0.371, allocations: 8.887 MB / 0.5107 GB, free: 3.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008443/0.3794, allocations: 6.256 MB / 0.5168 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003227/0.3827, allocations: 1.707 MB / 0.5185 GB, free: 372 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004189/0.3869, allocations: 2.875 MB / 0.5213 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006952/0.3876, allocations: 202 kB / 0.5215 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.3904, allocations: 1.368 MB / 0.5228 GB, free: 15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002154/0.3926, allocations: 2.439 MB / 0.5252 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002532/0.3952, allocations: 2.71 MB / 0.5278 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008558/0.4037, allocations: 8.808 MB / 0.5364 GB, free: 3.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.4038, allocations: 0 / 0.5364 GB, free: 3.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4038, allocations: 4 kB / 0.5364 GB, free: 3.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002268/0.404, allocations: 3.938 kB / 0.5364 GB, free: 3.695 MB / 398.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.01262/0.4166, allocations: 5.591 MB / 0.5419 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4167, allocations: 8.031 kB / 0.5419 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02664/0.4433, allocations: 3.382 MB / 0.5452 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008608/0.452, allocations: 4.199 MB / 0.5493 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.4522, allocations: 312.5 kB / 0.5496 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/0.4533, allocations: 427.7 kB / 0.55 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/0.4781, allocations: 13.85 MB / 0.5635 GB, free: 6.922 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000182/0.4783, allocations: 51.53 kB / 0.5636 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006367/0.479, allocations: 199.8 kB / 0.5638 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003759/0.4827, allocations: 2.527 MB / 0.5662 GB, free: 4.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02214/0.5049, allocations: 11.83 MB / 0.5778 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06184/0.5668, allocations: 53.78 MB / 0.6303 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2047/0.7715, allocations: 5.921 MB / 0.6361 GB, free: 142.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004087/0.7757, allocations: 3.592 MB / 0.6396 GB, free: 142.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01834/0.794, allocations: 15.45 MB / 0.6547 GB, free: 134.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.7941, allocations: 57.69 kB / 0.6547 GB, free: 134.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=230): time 5.64e-06/0.7941, allocations: 0 / 0.6547 GB, free: 134.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.08413/0.8783, allocations: 28.71 MB / 0.6828 GB, free: 125.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.15e-05/0.8784, allocations: 268.1 kB / 0.683 GB, free: 125.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005644/0.8841, allocations: 5.08 MB / 0.688 GB, free: 123.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004282/0.8845, allocations: 69.08 kB / 0.6881 GB, free: 123.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001764/0.8863, allocations: 3.889 MB / 0.6919 GB, free: 120.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009789/0.8873, allocations: 1.009 MB / 0.6928 GB, free: 119.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007041/0.888, allocations: 0.6576 MB / 0.6935 GB, free: 119.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.934e-05/0.888, allocations: 301.1 kB / 0.6938 GB, free: 119.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00357/0.8916, allocations: 3.009 MB / 0.6967 GB, free: 118.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004808/0.8964, allocations: 7.353 MB / 0.7039 GB, free: 110.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00904/0.9055, allocations: 11.09 MB / 0.7147 GB, free: 97.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.691e-05/0.9056, allocations: 44 kB / 0.7148 GB, free: 97.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01497/0.9205, allocations: 11.2 MB / 0.7257 GB, free: 86.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.879e-05/0.9206, allocations: 68 kB / 0.7258 GB, free: 86.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/0.9208, allocations: 157.6 kB / 0.7259 GB, free: 86.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/0.9234, allocations: 1.224 MB / 0.7271 GB, free: 84.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005146/0.9285, allocations: 1.831 MB / 0.7289 GB, free: 83.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006879/0.9354, allocations: 7.789 MB / 0.7365 GB, free: 75.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005285/0.9407, allocations: 423.4 kB / 0.7369 GB, free: 74.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007494/0.9415, allocations: 455 kB / 0.7373 GB, free: 74.24 MB / 494.1 MB 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.003822/0.9453, allocations: 2.629 MB / 0.7399 GB, free: 71.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009583/0.9463, allocations: 471 kB / 0.7404 GB, free: 71.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007815/0.9541, allocations: 5.233 MB / 0.7455 GB, free: 65.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-05/0.9542, allocations: 28 kB / 0.7455 GB, free: 65.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.9542, allocations: 8 kB / 0.7455 GB, free: 65.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-05/0.9542, allocations: 19.89 kB / 0.7455 GB, free: 65.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/0.9735, allocations: 11.75 MB / 0.757 GB, free: 54.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/0.9736, allocations: 4 kB / 0.757 GB, free: 54.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/0.976, allocations: 0.4992 MB / 0.7575 GB, free: 53.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002453/0.9785, allocations: 0.9919 MB / 0.7585 GB, free: 52.56 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002469/0.9788, allocations: 43.98 kB / 0.7585 GB, free: 52.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006382/0.9851, allocations: 7.115 MB / 0.7655 GB, free: 45.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9852, allocations: 4 kB / 0.7655 GB, free: 45.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/0.9955, allocations: 8.729 MB / 0.774 GB, free: 36.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/0.9974, allocations: 0.8816 MB / 0.7748 GB, free: 35.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009032/0.9983, allocations: 43.98 kB / 0.7749 GB, free: 35.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/1, allocations: 183.8 kB / 0.7751 GB, free: 35.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003381/1.001, allocations: 149.7 kB / 0.7752 GB, free: 35.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/1.001, allocations: 75.03 kB / 0.7753 GB, free: 34.99 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00356/1.004, allocations: 3.178 MB / 0.7784 GB, free: 31.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.005, allocations: 0 / 0.7784 GB, free: 31.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005272/1.01, allocations: 1.38 MB / 0.7797 GB, free: 30.45 MB / 494.1 MB 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.0004475/1.01, allocations: 185.7 kB / 0.7799 GB, free: 30.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009065/1.019, allocations: 7.313 MB / 0.787 GB, free: 22.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.019, allocations: 4.188 kB / 0.7871 GB, free: 22.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003082/1.022, allocations: 2.554 MB / 0.7895 GB, free: 20.37 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005051/1.028, allocations: 0.5681 MB / 0.7901 GB, free: 19.81 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02311/1.051, allocations: 15.67 MB / 0.8054 GB, free: 4.137 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004431/1.055, allocations: 4.117 MB / 0.8094 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006784/1.062, allocations: 2.368 MB / 0.8117 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/1.063, allocations: 323.3 kB / 0.812 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of SimCode: time 8.22e-07/1.063, allocations: 0 / 0.812 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.2803/1.344, allocations: 49.5 MB / 0.8604 GB, free: 132.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) Environment - environmentSimulation: