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.0007859/0.0007859, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004707/0.004707, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.34/1.34, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3188/0.3188, allocations: 38.02 MB / 308.8 MB, free: 10.32 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.0005691/0.0005688, allocations: 16 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1072, allocations: 57.52 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.2394/0.3466, allocations: 29.12 MB / 463.7 MB, free: 33.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01532/0.362, allocations: 6.813 MB / 470.5 MB, free: 32.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006619/0.3687, allocations: 117.2 kB / 470.6 MB, free: 32.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.3703, allocations: 443.4 kB / 471 MB, free: 32.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005584/0.376, allocations: 1.679 MB / 472.7 MB, free: 31.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.3773, allocations: 459.6 kB / 473.2 MB, free: 31.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005444/0.3828, allocations: 5.122 MB / 478.3 MB, free: 30.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003897/0.3867, allocations: 2.46 MB / 480.8 MB, free: 30.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.3885, allocations: 0.9913 MB / 481.7 MB, free: 29.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.3905, allocations: 1.729 MB / 483.5 MB, free: 29.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005487/0.3911, allocations: 138.8 kB / 483.6 MB, free: 29.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.393, allocations: 0.9005 MB / 484.5 MB, free: 29.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001509/0.3946, allocations: 1.542 MB / 486.1 MB, free: 28.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00158/0.3962, allocations: 1.852 MB / 487.9 MB, free: 27.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005619/0.4018, allocations: 5.873 MB / 493.8 MB, free: 25.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4018, allocations: 0 / 493.8 MB, free: 25.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4018, allocations: 0 / 493.8 MB, free: 25.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001922/0.402, allocations: 0 / 493.8 MB, free: 25.83 MB / 382.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.006989/0.409, allocations: 3.478 MB / 497.3 MB, free: 23.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.4091, allocations: 8.75 kB / 497.3 MB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/0.4208, allocations: 3.172 MB / 0.4887 GB, free: 23.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004658/0.4255, allocations: 1.943 MB / 0.4906 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.4257, allocations: 195.8 kB / 0.4908 GB, free: 22.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008494/0.4265, allocations: 257 kB / 0.491 GB, free: 22.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01758/0.4441, allocations: 10.71 MB / 0.5015 GB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/0.4443, allocations: 31.41 kB / 0.5015 GB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004208/0.4447, allocations: 118.5 kB / 0.5016 GB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004675/0.4494, allocations: 2.64 MB / 0.5042 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.4671, allocations: 10.05 MB / 0.514 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05031/0.5174, allocations: 35.3 MB / 0.5485 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009209/0.5267, allocations: 5.177 MB / 0.5535 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003149/0.5299, allocations: 2.295 MB / 0.5558 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001547/0.5315, allocations: 1.884 MB / 0.5576 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.5315, allocations: 48.56 kB / 0.5577 GB, free: 10.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 6.652e-06/0.5315, allocations: 0 / 0.5577 GB, free: 10.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03326/0.5648, allocations: 14.01 MB / 0.5714 GB, free: 12.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.5649, allocations: 73.34 kB / 0.5714 GB, free: 12.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00492/0.5698, allocations: 2.68 MB / 0.574 GB, free: 9.633 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004988/0.5704, allocations: 57.64 kB / 0.5741 GB, free: 9.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002273/0.5727, allocations: 2.705 MB / 0.5767 GB, free: 6.859 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001353/0.574, allocations: 0.8481 MB / 0.5776 GB, free: 6.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008796/0.5749, allocations: 469.8 kB / 0.578 GB, free: 5.555 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.575, allocations: 301.1 kB / 0.5783 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003889/0.5789, allocations: 2.216 MB / 0.5805 GB, free: 3.035 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005372/0.5843, allocations: 5.142 MB / 0.5855 GB, free: 12.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009479/0.5938, allocations: 8.058 MB / 0.5934 GB, free: 2.977 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/0.5939, allocations: 28 kB / 0.5934 GB, free: 2.949 MB / 462.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01471/0.6087, allocations: 7.957 MB / 0.6012 GB, free: 10.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.198e-05/0.6088, allocations: 48.19 kB / 0.6012 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/0.6089, allocations: 104 kB / 0.6013 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002369/0.6113, allocations: 0.7967 MB / 0.6021 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004015/0.6153, allocations: 1.212 MB / 0.6033 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005357/0.6207, allocations: 4.194 MB / 0.6074 GB, free: 4.484 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/0.6246, allocations: 295.8 kB / 0.6076 GB, free: 4.195 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009174/0.6255, allocations: 308 kB / 0.6079 GB, free: 3.895 MB / 478.1 MB 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.005344/0.6309, allocations: 2.061 MB / 0.6099 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006285/0.6315, allocations: 264.5 kB / 0.6102 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008537/0.6401, allocations: 4.728 MB / 0.6148 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.346e-05/0.6402, allocations: 43.98 kB / 0.6149 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.6402, allocations: 4 kB / 0.6149 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.682e-05/0.6403, allocations: 7.969 kB / 0.6149 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/0.6586, allocations: 10.62 MB / 0.6252 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.6586, allocations: 8 kB / 0.6252 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.6601, allocations: 359.4 kB / 0.6256 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001972/0.6621, allocations: 0.6566 MB / 0.6262 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002693/0.6624, allocations: 43.98 kB / 0.6263 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2304/0.8927, allocations: 3.654 MB / 0.6298 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.8928, allocations: 9.594 kB / 0.6299 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/0.9046, allocations: 7.137 MB / 0.6368 GB, free: 144.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0022/0.9069, allocations: 0.6543 MB / 0.6375 GB, free: 144.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009015/0.9078, allocations: 38.91 kB / 0.6375 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/0.9095, allocations: 147 kB / 0.6376 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003966/0.91, allocations: 128.8 kB / 0.6378 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/0.9101, allocations: 72.45 kB / 0.6378 GB, free: 144.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00408/0.9142, allocations: 1.648 MB / 0.6394 GB, free: 143.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9143, allocations: 0 / 0.6394 GB, free: 143.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004678/0.9189, allocations: 0.9381 MB / 0.6404 GB, free: 143.8 MB / 494.1 MB 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.0004905/0.9194, allocations: 181.9 kB / 0.6405 GB, free: 143.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007368/0.9268, allocations: 5.383 MB / 0.6458 GB, free: 141.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.9269, allocations: 0 / 0.6458 GB, free: 141.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00233/0.9292, allocations: 2.02 MB / 0.6478 GB, free: 141.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004511/0.9337, allocations: 338.1 kB / 0.6481 GB, free: 141 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/0.9529, allocations: 11.75 MB / 0.6596 GB, free: 134.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004433/0.9574, allocations: 3.23 MB / 0.6627 GB, free: 133.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004829/0.9623, allocations: 1.97 MB / 0.6646 GB, free: 133.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007289/0.963, allocations: 203.2 kB / 0.6648 GB, free: 133.5 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.963, allocations: 3.938 kB / 0.6648 GB, free: 133.5 MB / 494.1 MB Notification: Performance of Templates: time 0.0586/1.022, allocations: 29.44 MB / 0.6936 GB, free: 117.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: