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.007027/0.007027, allocations: 99.11 kB / 15.73 MB, free: 6.035 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.001509/0.001509, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.546/1.546, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.3245/0.3245, allocations: 39.94 MB / 309.9 MB, free: 9.41 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.00156/0.001561, allocations: 67.89 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3525, allocations: 56.88 MB / 492.7 MB, free: 19.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01237/0.365, allocations: 12.68 MB / 0.4935 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.3762, allocations: 3.956 MB / 0.4974 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004628/0.3809, allocations: 61.59 kB / 0.4974 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004216/0.3852, allocations: 1.335 MB / 0.4987 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006164/0.3914, allocations: 1.787 MB / 0.5005 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.3931, allocations: 494.8 kB / 0.5009 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006434/0.3995, allocations: 3.667 MB / 0.5045 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003795/0.4034, allocations: 2.044 MB / 0.5065 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.4065, allocations: 1.225 MB / 0.5077 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00344/0.4099, allocations: 1.744 MB / 0.5094 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001296/0.4112, allocations: 239.1 kB / 0.5096 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.4146, allocations: 0.9452 MB / 0.5106 GB, free: 328 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002671/0.4173, allocations: 1.627 MB / 0.5122 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003111/0.4204, allocations: 1.948 MB / 0.5141 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.4305, allocations: 6.381 MB / 0.5203 GB, free: 8.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4305, allocations: 0 / 0.5203 GB, free: 8.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.4305, allocations: 0 / 0.5203 GB, free: 8.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002178/0.4307, allocations: 3.938 kB / 0.5203 GB, free: 8.125 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.009012/0.4398, allocations: 4.359 MB / 0.5246 GB, free: 3.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4398, allocations: 11.89 kB / 0.5246 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.4507, allocations: 3.098 MB / 0.5276 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004655/0.4554, allocations: 1.971 MB / 0.5295 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.4556, allocations: 197.2 kB / 0.5297 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006651/0.4563, allocations: 255.9 kB / 0.5299 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01845/0.4748, allocations: 10.7 MB / 0.5404 GB, free: 2.938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/0.4749, allocations: 27.77 kB / 0.5404 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/0.4761, allocations: 119.8 kB / 0.5405 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004845/0.4809, allocations: 2.639 MB / 0.5431 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02124/0.5022, allocations: 10.03 MB / 0.5529 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06184/0.5641, allocations: 35.16 MB / 0.5872 GB, free: 2.051 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/0.5747, allocations: 5.186 MB / 0.5923 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003606/0.5783, allocations: 2.299 MB / 0.5946 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001883/0.5802, allocations: 1.876 MB / 0.5964 GB, free: 8.129 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/0.5803, allocations: 56.5 kB / 0.5964 GB, free: 8.062 MB / 478.1 MB Notification: Performance of pre-optimization done (n=229): time 6.502e-06/0.5803, allocations: 0 / 0.5964 GB, free: 8.062 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.03419/0.6145, allocations: 14.11 MB / 0.6102 GB, free: 9.906 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.6146, allocations: 73.41 kB / 0.6103 GB, free: 9.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005182/0.6198, allocations: 2.681 MB / 0.6129 GB, free: 7.121 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004369/0.6203, allocations: 53.7 kB / 0.613 GB, free: 7.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002412/0.6227, allocations: 2.815 MB / 0.6157 GB, free: 4.219 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001448/0.6242, allocations: 0.8913 MB / 0.6166 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002572/0.6268, allocations: 1.068 MB / 0.6176 GB, free: 2.242 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.6269, allocations: 301.1 kB / 0.6179 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003995/0.631, allocations: 2.212 MB / 0.6201 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006649/0.6376, allocations: 5.138 MB / 0.6251 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2536/0.8912, allocations: 8.059 MB / 0.633 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/0.8914, allocations: 29.12 kB / 0.633 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01511/0.9065, allocations: 7.963 MB / 0.6408 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.189e-05/0.9066, allocations: 49.5 kB / 0.6408 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/0.9067, allocations: 101.6 kB / 0.6409 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/0.9091, allocations: 0.8026 MB / 0.6417 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003895/0.913, allocations: 1.204 MB / 0.6429 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005744/0.9188, allocations: 4.523 MB / 0.6473 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004088/0.9229, allocations: 297.3 kB / 0.6476 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/0.924, allocations: 303.6 kB / 0.6478 GB, free: 116.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.004375/0.9284, allocations: 2.059 MB / 0.6499 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004854/0.9289, allocations: 277.6 kB / 0.6501 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007788/0.9367, allocations: 4.738 MB / 0.6548 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.24e-05/0.9368, allocations: 43.75 kB / 0.6548 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.9368, allocations: 2.844 kB / 0.6548 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/0.9368, allocations: 8.797 kB / 0.6548 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/0.9538, allocations: 10.59 MB / 0.6651 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.9539, allocations: 10.2 kB / 0.6652 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.9552, allocations: 362.1 kB / 0.6655 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00189/0.9572, allocations: 0.654 MB / 0.6661 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/0.9573, allocations: 41.8 kB / 0.6662 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00408/0.9614, allocations: 3.918 MB / 0.67 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.9614, allocations: 11.56 kB / 0.67 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008732/0.9702, allocations: 7.151 MB / 0.677 GB, free: 104.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/0.9715, allocations: 0.6601 MB / 0.6776 GB, free: 104 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005198/0.9721, allocations: 49.91 kB / 0.6777 GB, free: 104 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.9734, allocations: 139.6 kB / 0.6778 GB, free: 103.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/0.9737, allocations: 132.7 kB / 0.678 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.9739, allocations: 72.36 kB / 0.678 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002297/0.9762, allocations: 1.646 MB / 0.6796 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9762, allocations: 4 kB / 0.6796 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003778/0.98, allocations: 0.9452 MB / 0.6806 GB, free: 101.3 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.0004324/0.9804, allocations: 182 kB / 0.6807 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006679/0.9871, allocations: 5.415 MB / 0.686 GB, free: 95.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.9871, allocations: 0 / 0.686 GB, free: 95.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.9893, allocations: 2.022 MB / 0.688 GB, free: 93.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.9915, allocations: 352.8 kB / 0.6883 GB, free: 93.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/1.007, allocations: 9.628 MB / 0.6977 GB, free: 83.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004372/1.011, allocations: 3.231 MB / 0.7009 GB, free: 80.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004319/1.015, allocations: 1.977 MB / 0.7028 GB, free: 78.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009136/1.016, allocations: 203.4 kB / 0.703 GB, free: 78.17 MB / 0.4981 GB Notification: Performance of SimCode: time 1.322e-06/1.016, allocations: 0 / 0.703 GB, free: 78.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.04873/1.065, allocations: 28.86 MB / 0.7312 GB, free: 49.36 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)