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.007813/0.007813, allocations: 101 kB / 15.73 MB, free: 5.988 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.001692/0.001692, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.627/1.627, allocations: 205.1 MB / 222.6 MB, free: 4.371 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.363/0.363, allocations: 39.94 MB / 309.8 MB, free: 9.617 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.001449/0.001449, allocations: 67.91 kB / 435.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3693, allocations: 56.88 MB / 492.7 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.01988/0.3892, allocations: 17.38 MB / 0.4981 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01557/0.4049, allocations: 5.503 MB / 0.5035 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005151/0.4101, allocations: 117 kB / 0.5036 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008013/0.4181, allocations: 4.36 MB / 0.5078 GB, free: 168 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009491/0.4276, allocations: 2.774 MB / 0.5105 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004418/0.4321, allocations: 1.455 MB / 0.512 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01397/0.4461, allocations: 8.146 MB / 0.5199 GB, free: 8.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007304/0.4534, allocations: 5.389 MB / 0.5252 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005704/0.4592, allocations: 2.687 MB / 0.5278 GB, free: 384 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006432/0.4656, allocations: 3.86 MB / 0.5316 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00234/0.468, allocations: 0.5352 MB / 0.5321 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00476/0.4728, allocations: 1.623 MB / 0.5337 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005153/0.478, allocations: 3.343 MB / 0.5369 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007905/0.4859, allocations: 3.666 MB / 0.5405 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01754/0.5035, allocations: 11.24 MB / 0.5515 GB, free: 8.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.5035, allocations: 0 / 0.5515 GB, free: 8.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5036, allocations: 0 / 0.5515 GB, free: 8.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004664/0.504, allocations: 0 / 0.5515 GB, free: 8.031 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.02618/0.5302, allocations: 8.229 MB / 0.5595 GB, free: 15.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.5303, allocations: 11.89 kB / 0.5595 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03142/0.5617, allocations: 3.673 MB / 0.5631 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01694/0.5787, allocations: 5.598 MB / 0.5686 GB, free: 6.336 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004354/0.5792, allocations: 365.8 kB / 0.5689 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003/0.5822, allocations: 0.5114 MB / 0.5694 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03277/0.615, allocations: 16.25 MB / 0.5853 GB, free: 4.148 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002475/0.6153, allocations: 79.3 kB / 0.5854 GB, free: 4.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000835/0.6161, allocations: 239.8 kB / 0.5856 GB, free: 3.836 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004624/0.6208, allocations: 2.923 MB / 0.5885 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03126/0.652, allocations: 13.72 MB / 0.6019 GB, free: 3.168 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.433/1.085, allocations: 64.54 MB / 0.6649 GB, free: 83.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0245/1.11, allocations: 7.857 MB / 0.6726 GB, free: 81.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007596/1.117, allocations: 4.36 MB / 0.6768 GB, free: 79.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03704/1.154, allocations: 19.38 MB / 0.6958 GB, free: 68.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/1.155, allocations: 69.77 kB / 0.6958 GB, free: 68.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=290): time 5.701e-06/1.155, allocations: 0 / 0.6958 GB, free: 68.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=372): time 0.1603/1.315, allocations: 49.89 MB / 0.7445 GB, free: 26.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.315, allocations: 277.1 kB / 0.7448 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008523/1.323, allocations: 6.091 MB / 0.7508 GB, free: 20.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001182/1.325, allocations: 81.7 kB / 0.7508 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002953/1.328, allocations: 4.68 MB / 0.7554 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001906/1.33, allocations: 1.368 MB / 0.7567 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00255/1.332, allocations: 1.912 MB / 0.7586 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.99e-05/1.332, allocations: 305.1 kB / 0.7589 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005599/1.338, allocations: 4.227 MB / 0.763 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01073/1.349, allocations: 9.457 MB / 0.7723 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03028/1.379, allocations: 14.62 MB / 0.7865 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002392/1.379, allocations: 51.98 kB / 0.7866 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.06796/1.447, allocations: 17.56 MB / 0.8037 GB, free: 8.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001757/1.447, allocations: 83.94 kB / 0.8038 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003213/1.448, allocations: 180 kB / 0.804 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02633/1.474, allocations: 4.547 MB / 0.8084 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01366/1.488, allocations: 2.133 MB / 0.8105 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06338/1.551, allocations: 25.37 MB / 0.8353 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01078/1.562, allocations: 0.5227 MB / 0.8358 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001854/1.564, allocations: 0.5468 MB / 0.8363 GB, free: 7.156 MB / 0.5762 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.006737/1.571, allocations: 3.128 MB / 0.8394 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001467/1.572, allocations: 0.567 MB / 0.8399 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02444/1.597, allocations: 10.7 MB / 0.8504 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.687e-05/1.597, allocations: 42.42 kB / 0.8504 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.477e-05/1.597, allocations: 23.94 kB / 0.8505 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.014e-05/1.597, allocations: 19.92 kB / 0.8505 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2864/1.883, allocations: 20.36 MB / 0.8704 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-05/1.883, allocations: 1.25 kB / 0.8704 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/1.886, allocations: 0.5377 MB / 0.8709 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01398/1.9, allocations: 4.178 MB / 0.875 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007858/1.901, allocations: 63.75 kB / 0.875 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0333/1.935, allocations: 23.13 MB / 0.8976 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.935, allocations: 1.062 kB / 0.8976 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02644/1.961, allocations: 15.62 MB / 0.9129 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003897/1.965, allocations: 1.178 MB / 0.914 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/1.966, allocations: 63.78 kB / 0.9141 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/1.969, allocations: 221.6 kB / 0.9143 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008372/1.97, allocations: 233.9 kB / 0.9145 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002623/1.97, allocations: 94.17 kB / 0.9146 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005585/1.976, allocations: 3.802 MB / 0.9183 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/1.976, allocations: 4 kB / 0.9183 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009227/1.985, allocations: 1.932 MB / 0.9202 GB, free: 172.3 MB / 0.5919 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.0009547/1.986, allocations: 229.5 kB / 0.9204 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01444/2.001, allocations: 10.52 MB / 0.9307 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/2.001, allocations: 0 / 0.9307 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005413/2.006, allocations: 4.125 MB / 0.9347 GB, free: 157.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005105/2.011, allocations: 0.781 MB / 0.9355 GB, free: 156.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02669/2.038, allocations: 16.29 MB / 0.9514 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005815/2.044, allocations: 4.879 MB / 0.9562 GB, free: 135.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006081/2.05, allocations: 2.785 MB / 0.9589 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/2.051, allocations: 387.4 kB / 0.9593 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of SimCode: time 9.61e-07/2.051, allocations: 0 / 0.9593 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1207/2.172, allocations: 80.26 MB / 1.038 GB, free: 52.34 MB / 0.5919 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)