Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque") translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008282/0.008282, allocations: 174.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.526/1.526, allocations: 194.5 MB / 210.3 MB, free: 7.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001701/0.001701, allocations: 120.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.227/0.227, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004357, allocations: 17.88 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1309, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4418/0.5727, allocations: 99.76 MB / 0.5476 GB, free: 21.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.573, allocations: 77.86 kB / 0.5477 GB, free: 21.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3511/0.9241, allocations: 142.8 MB / 0.6871 GB, free: 3.027 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.9241, allocations: 0 / 0.6871 GB, free: 3.027 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005595/0.9247, allocations: 140 kB / 0.6873 GB, free: 2.891 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2470 * Number of variables: 2470 Notification: Performance of Generate backend data structure: time 0.03214/0.9568, allocations: 7.472 MB / 0.6946 GB, free: 11.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.9569, allocations: 8.031 kB / 0.6946 GB, free: 11.33 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03914/0.9961, allocations: 9.522 MB / 0.7039 GB, free: 1.781 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02684/1.023, allocations: 8.885 MB / 0.7126 GB, free: 8.812 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008734/1.024, allocations: 0.5256 MB / 0.7131 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005044/1.029, allocations: 0.7106 MB / 0.7138 GB, free: 7.574 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.399/1.428, allocations: 16.67 MB / 0.73 GB, free: 79.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001371/1.429, allocations: 101.3 kB / 0.7301 GB, free: 79.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00421/1.434, allocations: 340.2 kB / 0.7305 GB, free: 79.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003384/1.437, allocations: 1.524 MB / 0.7319 GB, free: 79.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03239/1.469, allocations: 13.35 MB / 0.745 GB, free: 78.95 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08989/1.559, allocations: 72.58 MB / 0.8159 GB, free: 51.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01385/1.573, allocations: 5.943 MB / 0.8217 GB, free: 49.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/1.574, allocations: 50.11 kB / 0.8217 GB, free: 49.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/1.574, allocations: 62.91 kB / 0.8218 GB, free: 49.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=249): time 6.011e-06/1.574, allocations: 0 / 0.8218 GB, free: 49.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=267): time 0.05381/1.628, allocations: 22.85 MB / 0.8441 GB, free: 39.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/1.628, allocations: 266.7 kB / 0.8443 GB, free: 39.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/1.64, allocations: 6.2 MB / 0.8504 GB, free: 37.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001052/1.641, allocations: 66.39 kB / 0.8505 GB, free: 37.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004536/1.645, allocations: 5.045 MB / 0.8554 GB, free: 33.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001624/1.647, allocations: 1.037 MB / 0.8564 GB, free: 33.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006194/1.648, allocations: 170.2 kB / 0.8566 GB, free: 32.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005557/1.648, allocations: 0.6665 MB / 0.8572 GB, free: 32.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004531/1.653, allocations: 2.966 MB / 0.8601 GB, free: 31.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007834/1.661, allocations: 8.224 MB / 0.8681 GB, free: 23.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007834/1.669, allocations: 4.823 MB / 0.8729 GB, free: 21.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002724/1.669, allocations: 53.44 kB / 0.8729 GB, free: 21.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.0246/1.693, allocations: 11.55 MB / 0.8842 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003706/1.694, allocations: 87.95 kB / 0.8843 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005395/1.694, allocations: 191.2 kB / 0.8845 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002547/1.697, allocations: 0.8443 MB / 0.8853 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01053/1.708, allocations: 1.983 MB / 0.8872 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/1.723, allocations: 8.634 MB / 0.8956 GB, free: 416 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01272/1.736, allocations: 481.1 kB / 0.8961 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0074/1.744, allocations: 0.7469 MB / 0.8968 GB, free: 0 / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1056): * Single equations (assignments): 1050 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01372/1.757, allocations: 3.325 MB / 0.9001 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002799/1.76, allocations: 0.5862 MB / 0.9007 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/1.773, allocations: 4.549 MB / 0.9051 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.668e-05/1.773, allocations: 31.94 kB / 0.9051 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-05/1.773, allocations: 11.89 kB / 0.9051 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.163e-05/1.773, allocations: 19.48 kB / 0.9052 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3375/2.111, allocations: 11.88 MB / 0.9168 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-05/2.111, allocations: 2.688 kB / 0.9168 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002747/2.113, allocations: 440.7 kB / 0.9172 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/2.115, allocations: 0.5267 MB / 0.9177 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004233/2.115, allocations: 49.06 kB / 0.9177 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008058/2.124, allocations: 7.716 MB / 0.9253 GB, free: 98.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/2.124, allocations: 4.656 kB / 0.9253 GB, free: 98.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/2.137, allocations: 8.038 MB / 0.9331 GB, free: 97.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003823/2.141, allocations: 1.008 MB / 0.9341 GB, free: 97.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001483/2.143, allocations: 44.53 kB / 0.9342 GB, free: 97.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002698/2.145, allocations: 150.9 kB / 0.9343 GB, free: 97.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005217/2.146, allocations: 166.4 kB / 0.9345 GB, free: 97.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/2.146, allocations: 70.53 kB / 0.9345 GB, free: 97.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007843/2.154, allocations: 4.417 MB / 0.9388 GB, free: 97.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/2.154, allocations: 0 / 0.9388 GB, free: 97.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009024/2.163, allocations: 1.563 MB / 0.9404 GB, free: 97.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (219): * Single equations (assignments): 213 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006639/2.164, allocations: 188.2 kB / 0.9405 GB, free: 97.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01384/2.178, allocations: 7.489 MB / 0.9479 GB, free: 96.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.006e-06/2.178, allocations: 6.969 kB / 0.9479 GB, free: 96.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00368/2.181, allocations: 2.551 MB / 0.9504 GB, free: 96.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005039/2.186, allocations: 0.7601 MB / 0.9511 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02942/2.216, allocations: 17.66 MB / 0.9683 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008511/2.224, allocations: 5.21 MB / 0.9734 GB, free: 88.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008171/2.233, allocations: 2.807 MB / 0.9762 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002168/2.235, allocations: 395.7 kB / 0.9765 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/2.235, allocations: 0 / 0.9765 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.1142/2.349, allocations: 55.68 MB / 1.031 GB, free: 77.16 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe 2>&1)