Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.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.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 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.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007273/0.007273, allocations: 102 kB / 15.73 MB, free: 6.051 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.001335/0.001335, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.522/1.522, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3245/0.3245, allocations: 38 MB / 307.9 MB, free: 9.988 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.1. 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.001555/0.001555, allocations: 67.91 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.321, allocations: 56.48 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01181/0.3329, allocations: 12.65 MB / 0.4904 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009911/0.3428, allocations: 3.98 MB / 0.4942 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.3447, allocations: 61.81 kB / 0.4943 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002659/0.3475, allocations: 1.325 MB / 0.4956 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004173/0.3517, allocations: 1.781 MB / 0.4973 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.3529, allocations: 0.4899 MB / 0.4978 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004644/0.3576, allocations: 3.668 MB / 0.5014 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.36, allocations: 2.037 MB / 0.5034 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.362, allocations: 1.233 MB / 0.5046 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.3639, allocations: 1.74 MB / 0.5063 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004112/0.3643, allocations: 240.1 kB / 0.5065 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.3662, allocations: 0.9486 MB / 0.5074 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.3676, allocations: 1.631 MB / 0.509 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001614/0.3692, allocations: 1.94 MB / 0.5109 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006702/0.3759, allocations: 6.359 MB / 0.5171 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.376, allocations: 1.156 kB / 0.5171 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.376, allocations: 0 / 0.5171 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001119/0.3761, allocations: 0 / 0.5171 GB, free: 10.95 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.007315/0.3834, allocations: 4.245 MB / 0.5213 GB, free: 7.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3835, allocations: 11.89 kB / 0.5213 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.3941, allocations: 3.08 MB / 0.5243 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00473/0.3989, allocations: 1.959 MB / 0.5262 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.399, allocations: 197.2 kB / 0.5264 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007175/0.3997, allocations: 263.8 kB / 0.5267 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02031/0.4201, allocations: 10.7 MB / 0.5371 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.975e-05/0.4202, allocations: 23.72 kB / 0.5371 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004089/0.4206, allocations: 123.8 kB / 0.5372 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004556/0.4252, allocations: 2.651 MB / 0.5398 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0226/0.4478, allocations: 10.02 MB / 0.5496 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05519/0.503, allocations: 35.08 MB / 0.5839 GB, free: 5.484 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.5136, allocations: 5.191 MB / 0.5889 GB, free: 64 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003382/0.517, allocations: 2.302 MB / 0.5912 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002194/0.5192, allocations: 1.872 MB / 0.593 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.5193, allocations: 52.55 kB / 0.5931 GB, free: 11.49 MB / 478.1 MB Notification: Performance of pre-optimization done (n=229): time 5.571e-06/0.5193, allocations: 0 / 0.5931 GB, free: 11.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.03539/0.5547, allocations: 14.04 MB / 0.6068 GB, free: 13.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.5548, allocations: 73.39 kB / 0.6069 GB, free: 13.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004189/0.559, allocations: 2.676 MB / 0.6095 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002131/0.5592, allocations: 57.7 kB / 0.6095 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001792/0.561, allocations: 2.697 MB / 0.6122 GB, free: 7.812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008476/0.5619, allocations: 0.8557 MB / 0.613 GB, free: 6.945 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001528/0.5634, allocations: 1.048 MB / 0.614 GB, free: 5.887 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.5635, allocations: 305.1 kB / 0.6143 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003481/0.567, allocations: 2.22 MB / 0.6165 GB, free: 3.359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005789/0.5728, allocations: 5.134 MB / 0.6215 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009496/0.5823, allocations: 8.062 MB / 0.6294 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-05/0.5824, allocations: 28 kB / 0.6294 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=704) (initialization): time 0.2291/0.8116, allocations: 7.949 MB / 0.6371 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.8117, allocations: 49.72 kB / 0.6372 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/0.8119, allocations: 101.3 kB / 0.6373 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00251/0.8144, allocations: 0.7932 MB / 0.6381 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004385/0.8188, allocations: 1.203 MB / 0.6392 GB, free: 124.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006327/0.8252, allocations: 4.522 MB / 0.6437 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004316/0.8295, allocations: 299.6 kB / 0.6439 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006661/0.8302, allocations: 303.6 kB / 0.6442 GB, free: 121.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (644): * Single equations (assignments): 637 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003579/0.8338, allocations: 2.06 MB / 0.6462 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004046/0.8342, allocations: 264.2 kB / 0.6465 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00782/0.842, allocations: 4.724 MB / 0.6511 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-05/0.8421, allocations: 44.05 kB / 0.6512 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.8421, allocations: 8 kB / 0.6512 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.8421, allocations: 9.562 kB / 0.6512 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/0.8587, allocations: 10.59 MB / 0.6615 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/0.8588, allocations: 6.094 kB / 0.6615 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/0.8603, allocations: 359.4 kB / 0.6619 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002086/0.8624, allocations: 0.6588 MB / 0.6625 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/0.8626, allocations: 41.5 kB / 0.6625 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004106/0.8667, allocations: 3.905 MB / 0.6664 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.8667, allocations: 11.38 kB / 0.6664 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008613/0.8754, allocations: 7.149 MB / 0.6734 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/0.877, allocations: 0.6434 MB / 0.674 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/0.8773, allocations: 43.17 kB / 0.674 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.8784, allocations: 146.3 kB / 0.6742 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000323/0.8788, allocations: 126.9 kB / 0.6743 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/0.8789, allocations: 67.61 kB / 0.6743 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002069/0.881, allocations: 1.652 MB / 0.676 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.881, allocations: 0 / 0.676 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00401/0.885, allocations: 0.9374 MB / 0.6769 GB, free: 108.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004343/0.8855, allocations: 189.1 kB / 0.6771 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00615/0.8916, allocations: 5.415 MB / 0.6823 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.8917, allocations: 4 kB / 0.6823 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001922/0.8936, allocations: 2.016 MB / 0.6843 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.8952, allocations: 357.4 kB / 0.6847 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.9078, allocations: 9.493 MB / 0.6939 GB, free: 91.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002559/0.9104, allocations: 3.221 MB / 0.6971 GB, free: 88.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003333/0.9137, allocations: 1.969 MB / 0.699 GB, free: 86.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005779/0.9143, allocations: 207.4 kB / 0.6992 GB, free: 85.86 MB / 0.4981 GB Notification: Performance of SimCode: time 6.52e-07/0.9143, allocations: 0 / 0.6992 GB, free: 85.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.04393/0.9583, allocations: 28.88 MB / 0.7274 GB, free: 57.04 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1)