Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009985/0.0009985, allocations: 169.5 kB / 7.639 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.21/1.21, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001612/0.001612, allocations: 107.5 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1681/0.1681, allocations: 37.98 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/1.987e-05, allocations: 2.938 kB / 350 MB, free: 37.03 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09365/0.09369, allocations: 48.72 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3285/0.4222, allocations: 93.11 MB / 491.8 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4225, allocations: 70.03 kB / 491.9 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2659/0.6885, allocations: 108.4 MB / 0.5862 GB, free: 2.762 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6885, allocations: 0 / 0.5862 GB, free: 2.762 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003894/0.6889, allocations: 103.9 kB / 0.5863 GB, free: 2.66 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.01847/0.7074, allocations: 5.337 MB / 0.5915 GB, free: 13.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.7074, allocations: 12.03 kB / 0.5916 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02829/0.7357, allocations: 6.931 MB / 0.5983 GB, free: 6.297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01883/0.7546, allocations: 6.778 MB / 0.6049 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/0.755, allocations: 168 kB / 0.6051 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002456/0.7575, allocations: 323.9 kB / 0.6054 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01483/0.7723, allocations: 7.221 MB / 0.6125 GB, free: 7.754 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2774/1.05, allocations: 11.38 MB / 0.6236 GB, free: 73.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002823/1.05, allocations: 80.36 kB / 0.6237 GB, free: 73.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/1.051, allocations: 40.22 kB / 0.6237 GB, free: 73.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0017/1.053, allocations: 1.203 MB / 0.6249 GB, free: 73.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0643/1.117, allocations: 56.15 MB / 0.6797 GB, free: 55.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004703/1.122, allocations: 3.447 MB / 0.6831 GB, free: 54.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002663/1.125, allocations: 2.095 MB / 0.6851 GB, free: 54.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/1.125, allocations: 29.53 kB / 0.6851 GB, free: 54.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/1.125, allocations: 61.86 kB / 0.6852 GB, free: 54.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 4.489e-06/1.125, allocations: 0 / 0.6852 GB, free: 54.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=197): time 0.03589/1.161, allocations: 17.31 MB / 0.7021 GB, free: 49.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/1.161, allocations: 198.3 kB / 0.7023 GB, free: 48.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008599/1.169, allocations: 4.056 MB / 0.7063 GB, free: 47.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006763/1.17, allocations: 25.7 kB / 0.7063 GB, free: 47.31 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002893/1.173, allocations: 4.067 MB / 0.7103 GB, free: 44.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00116/1.174, allocations: 0.7645 MB / 0.711 GB, free: 43.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/1.175, allocations: 2.906 kB / 0.711 GB, free: 43.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000546/1.175, allocations: 0.6123 MB / 0.7116 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002806/1.178, allocations: 2.155 MB / 0.7137 GB, free: 42.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005178/1.183, allocations: 6.704 MB / 0.7203 GB, free: 35.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005904/1.189, allocations: 3.778 MB / 0.7239 GB, free: 34.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001917/1.189, allocations: 48.44 kB / 0.724 GB, free: 34.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=956) (initialization): time 0.01656/1.206, allocations: 8.221 MB / 0.732 GB, free: 31.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/1.206, allocations: 76.25 kB / 0.7321 GB, free: 31.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000188/1.206, allocations: 162.6 kB / 0.7322 GB, free: 31.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/1.208, allocations: 0.5865 MB / 0.7328 GB, free: 31.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005347/1.213, allocations: 1.68 MB / 0.7345 GB, free: 31.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005792/1.219, allocations: 5.416 MB / 0.7398 GB, free: 27.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006536/1.225, allocations: 243.1 kB / 0.74 GB, free: 27.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001859/1.227, allocations: 458 kB / 0.7404 GB, free: 27.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 744 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (906): * Single equations (assignments): 901 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002341/1.23, allocations: 0.4982 MB / 0.7409 GB, free: 26.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001372/1.231, allocations: 422.3 kB / 0.7413 GB, free: 26.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006034/1.237, allocations: 2.938 MB / 0.7442 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/1.237, allocations: 22.44 kB / 0.7442 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/1.237, allocations: 3.75 kB / 0.7442 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/1.237, allocations: 17.05 kB / 0.7442 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/1.254, allocations: 7.319 MB / 0.7514 GB, free: 22.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.254, allocations: 3.688 kB / 0.7514 GB, free: 22.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/1.256, allocations: 300.1 kB / 0.7517 GB, free: 22.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009222/1.257, allocations: 334.2 kB / 0.752 GB, free: 22.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/1.257, allocations: 19.56 kB / 0.752 GB, free: 22.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/1.262, allocations: 4.73 MB / 0.7566 GB, free: 18.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.262, allocations: 0 / 0.7566 GB, free: 18.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007193/1.269, allocations: 5.538 MB / 0.762 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/1.271, allocations: 0.7024 MB / 0.7627 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/1.272, allocations: 11.66 kB / 0.7627 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/1.275, allocations: 64.78 kB / 0.7628 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/1.275, allocations: 112.8 kB / 0.7629 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/1.275, allocations: 51.42 kB / 0.7629 GB, free: 13.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005955/1.281, allocations: 2.74 MB / 0.7656 GB, free: 10.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.281, allocations: 0 / 0.7656 GB, free: 10.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007677/1.289, allocations: 1.032 MB / 0.7666 GB, free: 9.668 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005308/1.289, allocations: 140.5 kB / 0.7668 GB, free: 9.531 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009674/1.299, allocations: 5.325 MB / 0.772 GB, free: 4.699 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.299, allocations: 0 / 0.772 GB, free: 4.699 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002818/1.302, allocations: 1.653 MB / 0.7736 GB, free: 3.184 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003602/1.306, allocations: 488.3 kB / 0.774 GB, free: 2.777 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2803/1.586, allocations: 9.21 MB / 0.783 GB, free: 83.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007482/1.593, allocations: 4.128 MB / 0.7871 GB, free: 82.83 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007235/1.601, allocations: 2.338 MB / 0.7893 GB, free: 82.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/1.602, allocations: 286.2 kB / 0.7896 GB, free: 82.78 MB / 442.7 MB Notification: Performance of SimCode: time 1.182e-06/1.602, allocations: 0 / 0.7896 GB, free: 82.78 MB / 442.7 MB Notification: Performance of Templates: time 0.06792/1.67, allocations: 34.84 MB / 0.8236 GB, free: 81.33 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1)