Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.006258/0.006258, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.00123/0.00123, allocations: 190 kB / 16.67 MB, free: 5.949 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.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3612/0.3612, allocations: 39.95 MB / 309.8 MB, free: 9.363 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.001743/0.001744, allocations: 75.89 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3487, allocations: 56.87 MB / 492.7 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01241/0.3612, allocations: 12.67 MB / 0.4935 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009909/0.3711, allocations: 3.961 MB / 0.4974 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003011/0.3742, allocations: 58.62 kB / 0.4974 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003226/0.3775, allocations: 1.333 MB / 0.4987 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006089/0.3836, allocations: 1.795 MB / 0.5005 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.3853, allocations: 494.6 kB / 0.5009 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006333/0.3916, allocations: 3.663 MB / 0.5045 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00311/0.3948, allocations: 2.039 MB / 0.5065 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.3976, allocations: 1.233 MB / 0.5077 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002785/0.4004, allocations: 1.744 MB / 0.5094 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007678/0.4012, allocations: 243.9 kB / 0.5096 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002501/0.4037, allocations: 0.9481 MB / 0.5106 GB, free: 356 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.4057, allocations: 1.623 MB / 0.5122 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003125/0.4088, allocations: 1.944 MB / 0.5141 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009459/0.4183, allocations: 6.362 MB / 0.5203 GB, free: 8.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.4183, allocations: 0 / 0.5203 GB, free: 8.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.51e-06/0.4184, allocations: 0 / 0.5203 GB, free: 8.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002516/0.4186, allocations: 3.938 kB / 0.5203 GB, free: 8.148 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.01066/0.4293, allocations: 4.234 MB / 0.5244 GB, free: 3.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.4294, allocations: 15.89 kB / 0.5244 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.4402, allocations: 3.072 MB / 0.5274 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00509/0.4453, allocations: 1.978 MB / 0.5294 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.4456, allocations: 189.2 kB / 0.5295 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001232/0.4468, allocations: 259.8 kB / 0.5298 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01922/0.4661, allocations: 10.7 MB / 0.5402 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.035e-05/0.4662, allocations: 23.81 kB / 0.5403 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004203/0.4666, allocations: 119.8 kB / 0.5404 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004592/0.4712, allocations: 2.643 MB / 0.543 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01974/0.491, allocations: 10.01 MB / 0.5527 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05374/0.5448, allocations: 35.1 MB / 0.587 GB, free: 2.285 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009374/0.5542, allocations: 5.185 MB / 0.5921 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002914/0.5572, allocations: 2.291 MB / 0.5943 GB, free: 10.58 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001675/0.5588, allocations: 1.884 MB / 0.5962 GB, free: 8.363 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.5589, allocations: 52.56 kB / 0.5962 GB, free: 8.301 MB / 478.1 MB Notification: Performance of pre-optimization done (n=229): time 3.677e-06/0.5589, allocations: 0 / 0.5962 GB, free: 8.301 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.03147/0.5904, allocations: 14.03 MB / 0.6099 GB, free: 10.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.5905, allocations: 77.41 kB / 0.61 GB, free: 10.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/0.5942, allocations: 2.68 MB / 0.6126 GB, free: 7.426 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003367/0.5945, allocations: 53.7 kB / 0.6126 GB, free: 7.367 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001951/0.5965, allocations: 2.697 MB / 0.6153 GB, free: 4.629 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001038/0.5975, allocations: 0.8517 MB / 0.6161 GB, free: 3.766 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001467/0.599, allocations: 1.06 MB / 0.6171 GB, free: 2.695 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5992, allocations: 305.1 kB / 0.6174 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/0.6023, allocations: 2.212 MB / 0.6196 GB, free: 180 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005235/0.6076, allocations: 5.138 MB / 0.6246 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009098/0.6167, allocations: 8.062 MB / 0.6325 GB, free: 120 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.084e-05/0.6168, allocations: 28 kB / 0.6325 GB, free: 92 kB / 0.4981 GB Notification: Performance of matching and sorting (n=704) (initialization): time 0.3169/0.9338, allocations: 7.954 MB / 0.6403 GB, free: 122 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.988e-05/0.9339, allocations: 48.06 kB / 0.6403 GB, free: 122 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001709/0.9341, allocations: 101.8 kB / 0.6404 GB, free: 122 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002704/0.9368, allocations: 0.7936 MB / 0.6412 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004458/0.9413, allocations: 1.204 MB / 0.6424 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005881/0.9472, allocations: 4.525 MB / 0.6468 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003901/0.9511, allocations: 293.3 kB / 0.6471 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/0.9522, allocations: 303.8 kB / 0.6474 GB, free: 119.2 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.004433/0.9566, allocations: 2.065 MB / 0.6494 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000593/0.9572, allocations: 259.4 kB / 0.6496 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007525/0.9647, allocations: 4.722 MB / 0.6542 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/0.9649, allocations: 48.94 kB / 0.6543 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.9649, allocations: 2.438 kB / 0.6543 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.9649, allocations: 12.17 kB / 0.6543 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/0.9854, allocations: 10.59 MB / 0.6646 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.9854, allocations: 11.16 kB / 0.6647 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/0.9868, allocations: 359.4 kB / 0.665 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/0.9886, allocations: 0.6541 MB / 0.6656 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.9888, allocations: 45.86 kB / 0.6657 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003844/0.9926, allocations: 3.905 MB / 0.6695 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.9926, allocations: 11.59 kB / 0.6695 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008355/1.001, allocations: 7.146 MB / 0.6765 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001845/1.003, allocations: 0.6476 MB / 0.6771 GB, free: 105 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003719/1.003, allocations: 47.88 kB / 0.6772 GB, free: 105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.004, allocations: 147.8 kB / 0.6773 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003005/1.005, allocations: 125 kB / 0.6774 GB, free: 104.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.005, allocations: 71.77 kB / 0.6775 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002157/1.007, allocations: 1.648 MB / 0.6791 GB, free: 103 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.007, allocations: 0 / 0.6791 GB, free: 103 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004832/1.012, allocations: 0.9439 MB / 0.68 GB, free: 102.1 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.0004351/1.012, allocations: 180.8 kB / 0.6802 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007087/1.019, allocations: 5.411 MB / 0.6855 GB, free: 96.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/1.02, allocations: 4 kB / 0.6855 GB, free: 96.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/1.022, allocations: 2.019 MB / 0.6875 GB, free: 94.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/1.024, allocations: 355 kB / 0.6878 GB, free: 94.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.038, allocations: 9.496 MB / 0.6971 GB, free: 84.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002547/1.04, allocations: 3.234 MB / 0.7002 GB, free: 81.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003676/1.044, allocations: 1.973 MB / 0.7021 GB, free: 79.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006297/1.045, allocations: 203.4 kB / 0.7023 GB, free: 79.06 MB / 0.4981 GB Notification: Performance of SimCode: time 2.064e-06/1.045, allocations: 0 / 0.7023 GB, free: 79.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.04583/1.091, allocations: 28.6 MB / 0.7303 GB, free: 50.58 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1)