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.0009599/0.0009599, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00891/0.00891, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.716/1.716, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.3762/0.3762, allocations: 40.01 MB / 310.7 MB, free: 9.453 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.0005817/0.0005818, allocations: 12 kB / 379.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1459, allocations: 57.95 MB / 437.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3271/0.473, allocations: 62.36 MB / 499.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03876/0.5118, allocations: 13.02 MB / 0.5008 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01883/0.5307, allocations: 282.9 kB / 0.501 GB, free: 4.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002649/0.5334, allocations: 0.5432 MB / 0.5016 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00942/0.5429, allocations: 2.229 MB / 0.5037 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003768/0.5467, allocations: 1.06 MB / 0.5048 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01747/0.5642, allocations: 8.885 MB / 0.5135 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01589/0.5801, allocations: 6.252 MB / 0.5196 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007177/0.5874, allocations: 1.72 MB / 0.5212 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00893/0.5964, allocations: 2.863 MB / 0.524 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002712/0.5992, allocations: 202.9 kB / 0.5242 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005661/0.6048, allocations: 1.367 MB / 0.5256 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005234/0.6101, allocations: 2.436 MB / 0.5279 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007579/0.6177, allocations: 2.706 MB / 0.5306 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01634/0.6341, allocations: 8.817 MB / 0.5392 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.6342, allocations: 0 / 0.5392 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.49e-06/0.6342, allocations: 0 / 0.5392 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003889/0.6346, allocations: 3.938 kB / 0.5392 GB, free: 15.2 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.01942/0.654, allocations: 5.6 MB / 0.5447 GB, free: 9.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.884e-05/0.6541, allocations: 8.031 kB / 0.5447 GB, free: 9.512 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0301/0.6842, allocations: 3.375 MB / 0.548 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01318/0.6975, allocations: 4.199 MB / 0.5521 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005014/0.698, allocations: 308.5 kB / 0.5524 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002397/0.7004, allocations: 431.6 kB / 0.5528 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0368/0.7372, allocations: 13.85 MB / 0.5663 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004623/0.7378, allocations: 59.44 kB / 0.5664 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001715/0.7395, allocations: 195.8 kB / 0.5665 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004745/0.7443, allocations: 2.527 MB / 0.569 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02893/0.7732, allocations: 11.83 MB / 0.5806 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3561/1.129, allocations: 53.78 MB / 0.6331 GB, free: 130 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01588/1.145, allocations: 5.916 MB / 0.6389 GB, free: 129.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004463/1.15, allocations: 3.594 MB / 0.6424 GB, free: 129.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01968/1.17, allocations: 15.46 MB / 0.6575 GB, free: 122.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.516e-05/1.17, allocations: 53.5 kB / 0.6575 GB, free: 122.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=230): time 5.4e-06/1.17, allocations: 0 / 0.6575 GB, free: 122.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.09375/1.263, allocations: 28.71 MB / 0.6856 GB, free: 113.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.264, allocations: 262.2 kB / 0.6858 GB, free: 113.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008403/1.272, allocations: 5.083 MB / 0.6908 GB, free: 111.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007457/1.273, allocations: 68.83 kB / 0.6908 GB, free: 111.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002484/1.275, allocations: 3.888 MB / 0.6946 GB, free: 108.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001248/1.276, allocations: 1.007 MB / 0.6956 GB, free: 107.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008018/1.277, allocations: 0.6557 MB / 0.6963 GB, free: 107.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.828e-05/1.277, allocations: 304.4 kB / 0.6966 GB, free: 107.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003702/1.281, allocations: 3.011 MB / 0.6995 GB, free: 106.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00526/1.286, allocations: 7.355 MB / 0.7067 GB, free: 99.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009872/1.296, allocations: 11.09 MB / 0.7175 GB, free: 86.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.688e-05/1.296, allocations: 44 kB / 0.7176 GB, free: 86.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01711/1.313, allocations: 11.19 MB / 0.7285 GB, free: 75.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.739e-05/1.314, allocations: 68 kB / 0.7285 GB, free: 75.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/1.314, allocations: 156.8 kB / 0.7287 GB, free: 75.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/1.316, allocations: 1.227 MB / 0.7299 GB, free: 74.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005726/1.322, allocations: 1.833 MB / 0.7317 GB, free: 72.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007555/1.33, allocations: 7.783 MB / 0.7393 GB, free: 64.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006154/1.336, allocations: 427.3 kB / 0.7397 GB, free: 63.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/1.337, allocations: 459 kB / 0.7401 GB, free: 63.41 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.005999/1.343, allocations: 2.627 MB / 0.7427 GB, free: 60.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/1.345, allocations: 462.1 kB / 0.7431 GB, free: 60.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0088/1.353, allocations: 5.242 MB / 0.7483 GB, free: 55.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-05/1.354, allocations: 28 kB / 0.7483 GB, free: 55.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/1.354, allocations: 4 kB / 0.7483 GB, free: 55.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.129e-05/1.354, allocations: 15.95 kB / 0.7483 GB, free: 55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/1.376, allocations: 11.76 MB / 0.7598 GB, free: 43.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/1.376, allocations: 4 kB / 0.7598 GB, free: 43.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002424/1.378, allocations: 0.4991 MB / 0.7603 GB, free: 42.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002623/1.381, allocations: 0.9928 MB / 0.7612 GB, free: 41.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002763/1.381, allocations: 44 kB / 0.7613 GB, free: 41.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007337/1.389, allocations: 7.115 MB / 0.7682 GB, free: 34.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.389, allocations: 4 kB / 0.7682 GB, free: 34.33 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/1.402, allocations: 8.733 MB / 0.7768 GB, free: 25.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002609/1.405, allocations: 0.8855 MB / 0.7776 GB, free: 24.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/1.406, allocations: 40 kB / 0.7777 GB, free: 24.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003312/1.409, allocations: 183.8 kB / 0.7778 GB, free: 24.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006176/1.41, allocations: 149.7 kB / 0.778 GB, free: 24.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003077/1.41, allocations: 71.98 kB / 0.7781 GB, free: 24.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006797/1.417, allocations: 3.178 MB / 0.7812 GB, free: 21.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.417, allocations: 0 / 0.7812 GB, free: 21.01 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008728/1.426, allocations: 1.373 MB / 0.7825 GB, free: 19.64 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.0009447/1.427, allocations: 189.9 kB / 0.7827 GB, free: 19.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01111/1.438, allocations: 7.305 MB / 0.7898 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.567e-06/1.438, allocations: 4 kB / 0.7898 GB, free: 12.15 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003651/1.442, allocations: 2.567 MB / 0.7923 GB, free: 9.562 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005508/1.447, allocations: 0.551 MB / 0.7929 GB, free: 9.016 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02513/1.472, allocations: 15.68 MB / 0.8082 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008114/1.481, allocations: 4.109 MB / 0.8122 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.2768/1.757, allocations: 2.368 MB / 0.8145 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/1.759, allocations: 318.6 kB / 0.8148 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/1.759, allocations: 3.188 kB / 0.8148 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.113/1.872, allocations: 49.53 MB / 0.8632 GB, free: 127.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: