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.001174/0.001174, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001316/0.001316, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.746/1.746, allocations: 205.1 MB / 222 MB, free: 4.73 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.4033/0.4033, allocations: 39.93 MB / 309.3 MB, free: 9.633 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.001684/0.001684, allocations: 62.41 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1588, allocations: 56.88 MB / 433.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3653/0.5241, allocations: 73.27 MB / 0.4952 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04289/0.567, allocations: 14.71 MB / 0.5096 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0229/0.59, allocations: 324.6 kB / 0.5099 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01091/0.601, allocations: 4.345 MB / 0.5141 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.6122, allocations: 2.603 MB / 0.5166 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00533/0.6176, allocations: 1.35 MB / 0.518 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02032/0.6379, allocations: 11.44 MB / 0.5291 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008598/0.6465, allocations: 5.294 MB / 0.5343 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007607/0.6542, allocations: 2.417 MB / 0.5367 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008061/0.6623, allocations: 4.109 MB / 0.5407 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002028/0.6644, allocations: 391.9 kB / 0.541 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005171/0.6695, allocations: 1.545 MB / 0.5426 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004386/0.6739, allocations: 3.238 MB / 0.5457 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007706/0.6817, allocations: 3.518 MB / 0.5492 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01719/0.6989, allocations: 10.75 MB / 0.5597 GB, free: 8.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.6989, allocations: 4 kB / 0.5597 GB, free: 8.176 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.699, allocations: 4 kB / 0.5597 GB, free: 8.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004588/0.6994, allocations: 0 / 0.5597 GB, free: 8.172 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.02569/0.7251, allocations: 8.237 MB / 0.5677 GB, free: 15.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.042e-05/0.7252, allocations: 16.02 kB / 0.5677 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02907/0.7543, allocations: 3.677 MB / 0.5713 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01692/0.7713, allocations: 5.489 MB / 0.5767 GB, free: 6.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005679/0.7719, allocations: 369.8 kB / 0.577 GB, free: 6.207 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003048/0.7749, allocations: 0.5154 MB / 0.5775 GB, free: 5.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04004/0.815, allocations: 16.24 MB / 0.5934 GB, free: 4.379 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005219/0.8156, allocations: 79.3 kB / 0.5935 GB, free: 4.301 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002555/0.8181, allocations: 239.8 kB / 0.5937 GB, free: 4.066 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005343/0.8235, allocations: 2.919 MB / 0.5965 GB, free: 1.141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03415/0.8577, allocations: 13.7 MB / 0.6099 GB, free: 3.418 MB / 478.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.3721/1.23, allocations: 64.84 MB / 0.6732 GB, free: 98.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02049/1.25, allocations: 7.867 MB / 0.6809 GB, free: 96.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006311/1.257, allocations: 4.355 MB / 0.6852 GB, free: 94.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03619/1.293, allocations: 19.36 MB / 0.7041 GB, free: 84.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/1.293, allocations: 64.22 kB / 0.7041 GB, free: 84.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 5.44e-06/1.293, allocations: 0 / 0.7041 GB, free: 84.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=372): time 0.1616/1.455, allocations: 49.89 MB / 0.7529 GB, free: 51.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/1.455, allocations: 273.4 kB / 0.7531 GB, free: 51.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008078/1.463, allocations: 6.095 MB / 0.7591 GB, free: 45.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001189/1.464, allocations: 81.7 kB / 0.7592 GB, free: 45.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002698/1.467, allocations: 4.681 MB / 0.7637 GB, free: 40.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001908/1.469, allocations: 1.367 MB / 0.7651 GB, free: 39.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002502/1.471, allocations: 1.908 MB / 0.7669 GB, free: 37.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.989e-05/1.471, allocations: 305.1 kB / 0.7672 GB, free: 37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005131/1.476, allocations: 4.224 MB / 0.7713 GB, free: 32.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007485/1.484, allocations: 9.452 MB / 0.7806 GB, free: 20.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/1.499, allocations: 14.63 MB / 0.7949 GB, free: 3.664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001528/1.499, allocations: 55.94 kB / 0.7949 GB, free: 3.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.04038/1.539, allocations: 17.56 MB / 0.8121 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004767/1.54, allocations: 84 kB / 0.8121 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005649/1.54, allocations: 180 kB / 0.8123 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2722/1.813, allocations: 4.543 MB / 0.8167 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007101/1.82, allocations: 2.137 MB / 0.8188 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03141/1.851, allocations: 23.63 MB / 0.8419 GB, free: 132.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008609/1.86, allocations: 0.5296 MB / 0.8424 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00263/1.862, allocations: 0.5339 MB / 0.843 GB, free: 132.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 (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,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008462/1.871, allocations: 3.13 MB / 0.846 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001689/1.873, allocations: 0.567 MB / 0.8466 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02538/1.898, allocations: 10.71 MB / 0.857 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-05/1.898, allocations: 39.64 kB / 0.8571 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.348e-05/1.898, allocations: 17.44 kB / 0.8571 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001019/1.898, allocations: 17.48 kB / 0.8571 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04452/1.943, allocations: 20.53 MB / 0.8771 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.582e-05/1.943, allocations: 0 / 0.8771 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003168/1.946, allocations: 0.5332 MB / 0.8777 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01289/1.959, allocations: 4.187 MB / 0.8818 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000867/1.96, allocations: 63.55 kB / 0.8818 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02668/1.987, allocations: 21.48 MB / 0.9028 GB, free: 99.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.987, allocations: 6.406 kB / 0.9028 GB, free: 99.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02635/2.013, allocations: 15.64 MB / 0.9181 GB, free: 83.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003858/2.017, allocations: 1.177 MB / 0.9192 GB, free: 82.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001705/2.019, allocations: 56 kB / 0.9193 GB, free: 82.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003834/2.023, allocations: 219.6 kB / 0.9195 GB, free: 82.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009795/2.024, allocations: 230.2 kB / 0.9197 GB, free: 82.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002848/2.024, allocations: 99.92 kB / 0.9198 GB, free: 82.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005385/2.029, allocations: 3.801 MB / 0.9235 GB, free: 78.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/2.029, allocations: 0 / 0.9235 GB, free: 78.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008775/2.038, allocations: 1.935 MB / 0.9254 GB, free: 76.32 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 (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,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007072/2.039, allocations: 219.8 kB / 0.9256 GB, free: 76.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01423/2.053, allocations: 10.5 MB / 0.9359 GB, free: 65.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/2.053, allocations: 0 / 0.9359 GB, free: 65.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005484/2.059, allocations: 4.12 MB / 0.9399 GB, free: 61.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006156/2.065, allocations: 0.7329 MB / 0.9406 GB, free: 60.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02619/2.091, allocations: 19.7 MB / 0.9598 GB, free: 41.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004394/2.095, allocations: 4.882 MB / 0.9646 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006416/2.102, allocations: 2.789 MB / 0.9673 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/2.103, allocations: 383.4 kB / 0.9677 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/2.103, allocations: 0 / 0.9677 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.352/2.455, allocations: 81.64 MB / 1.047 GB, free: 136.1 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (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)