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.001308/0.001308, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001673/0.001673, allocations: 192.1 kB / 16.14 MB, free: 6.656 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.607/1.607, allocations: 205.1 MB / 222 MB, free: 4.723 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.3619/0.3619, allocations: 39.94 MB / 309.3 MB, free: 9.328 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.001522/0.001522, allocations: 59.92 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1433, allocations: 56.89 MB / 433.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.3507/0.494, allocations: 30.06 MB / 463.9 MB, free: 35.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.5089, allocations: 6.869 MB / 470.7 MB, free: 33.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007057/0.516, allocations: 125 kB / 470.9 MB, free: 33.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002884/0.519, allocations: 1.271 MB / 472.1 MB, free: 33.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004847/0.5238, allocations: 1.668 MB / 473.8 MB, free: 32.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.5255, allocations: 464.9 kB / 474.2 MB, free: 32.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006355/0.5319, allocations: 5.12 MB / 479.4 MB, free: 30.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002498/0.5344, allocations: 2.004 MB / 481.4 MB, free: 30.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.5361, allocations: 1.069 MB / 482.4 MB, free: 29.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/0.5378, allocations: 1.834 MB / 484.3 MB, free: 29.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003322/0.5381, allocations: 171.6 kB / 484.4 MB, free: 29.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.5399, allocations: 0.9374 MB / 485.4 MB, free: 28.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001152/0.5411, allocations: 1.584 MB / 487 MB, free: 28.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.5428, allocations: 1.89 MB / 488.9 MB, free: 27.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00865/0.5515, allocations: 6.005 MB / 494.9 MB, free: 24.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5515, allocations: 0 / 494.9 MB, free: 24.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.5515, allocations: 0 / 494.9 MB, free: 24.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002956/0.5518, allocations: 0 / 494.9 MB, free: 24.94 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.01194/0.5638, allocations: 4.235 MB / 499.1 MB, free: 22.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.5639, allocations: 12.97 kB / 499.1 MB, free: 22.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.575, allocations: 3.076 MB / 0.4904 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006499/0.5815, allocations: 1.95 MB / 0.4923 GB, free: 21.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.5818, allocations: 197.5 kB / 0.4925 GB, free: 20.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008343/0.5826, allocations: 257.1 kB / 0.4928 GB, free: 20.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02226/0.6049, allocations: 10.7 MB / 0.5032 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.6051, allocations: 30.56 kB / 0.5032 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004237/0.6055, allocations: 123.4 kB / 0.5033 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004528/0.61, allocations: 2.647 MB / 0.5059 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02241/0.6325, allocations: 10.02 MB / 0.5157 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0611/0.6936, allocations: 35.3 MB / 0.5502 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/0.7041, allocations: 5.181 MB / 0.5552 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003979/0.7081, allocations: 2.306 MB / 0.5575 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001921/0.7101, allocations: 1.88 MB / 0.5593 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.7101, allocations: 56.55 kB / 0.5594 GB, free: 6.473 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 5.991e-06/0.7102, allocations: 0 / 0.5594 GB, free: 6.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03562/0.7458, allocations: 14.03 MB / 0.5731 GB, free: 8.379 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.7459, allocations: 77.34 kB / 0.5732 GB, free: 8.293 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004054/0.7499, allocations: 2.676 MB / 0.5758 GB, free: 5.598 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005228/0.7505, allocations: 49.7 kB / 0.5758 GB, free: 5.543 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001959/0.7524, allocations: 2.709 MB / 0.5785 GB, free: 2.793 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001376/0.7538, allocations: 0.8479 MB / 0.5793 GB, free: 1.934 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001598/0.7554, allocations: 1.06 MB / 0.5803 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.7555, allocations: 301.1 kB / 0.5806 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003436/0.759, allocations: 2.216 MB / 0.5828 GB, free: 14.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006323/0.7653, allocations: 5.138 MB / 0.5878 GB, free: 7.773 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/0.7762, allocations: 8.058 MB / 0.5957 GB, free: 14.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/0.7763, allocations: 28 kB / 0.5957 GB, free: 14.26 MB / 478.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01703/0.7934, allocations: 7.957 MB / 0.6035 GB, free: 6.285 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.7935, allocations: 48 kB / 0.6035 GB, free: 6.238 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001568/0.7937, allocations: 100 kB / 0.6036 GB, free: 6.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002308/0.796, allocations: 0.7955 MB / 0.6044 GB, free: 5.344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005246/0.8013, allocations: 1.205 MB / 0.6056 GB, free: 4.137 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006395/0.8077, allocations: 4.203 MB / 0.6097 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00446/0.8122, allocations: 303.7 kB / 0.61 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001441/0.8137, allocations: 308 kB / 0.6103 GB, free: 15.2 MB / 494.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.006426/0.8201, allocations: 2.059 MB / 0.6123 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000878/0.821, allocations: 256.6 kB / 0.6125 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009171/0.8302, allocations: 4.733 MB / 0.6171 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.904e-05/0.8303, allocations: 51.97 kB / 0.6172 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.8303, allocations: 0 / 0.6172 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.8303, allocations: 11.97 kB / 0.6172 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2821/1.112, allocations: 10.61 MB / 0.6276 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/1.112, allocations: 5.875 kB / 0.6276 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/1.114, allocations: 361.6 kB / 0.6279 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/1.116, allocations: 0.6564 MB / 0.6285 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003457/1.116, allocations: 49.12 kB / 0.6286 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003883/1.12, allocations: 3.651 MB / 0.6322 GB, free: 145.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.12, allocations: 8.219 kB / 0.6322 GB, free: 145.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/1.131, allocations: 7.143 MB / 0.6391 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002065/1.133, allocations: 0.6478 MB / 0.6398 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005967/1.133, allocations: 47.48 kB / 0.6398 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.135, allocations: 139.7 kB / 0.64 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/1.135, allocations: 130.8 kB / 0.6401 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/1.135, allocations: 67.94 kB / 0.6401 GB, free: 142.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002619/1.138, allocations: 1.647 MB / 0.6417 GB, free: 142.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.138, allocations: 0 / 0.6417 GB, free: 142.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006114/1.144, allocations: 0.9526 MB / 0.6427 GB, free: 142.1 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.0006798/1.145, allocations: 174.6 kB / 0.6428 GB, free: 142 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008898/1.154, allocations: 5.38 MB / 0.6481 GB, free: 140.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/1.154, allocations: 1.25 kB / 0.6481 GB, free: 140.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004063/1.158, allocations: 2.019 MB / 0.6501 GB, free: 139.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/1.161, allocations: 340.2 kB / 0.6504 GB, free: 139.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/1.181, allocations: 11.69 MB / 0.6618 GB, free: 133.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003889/1.185, allocations: 3.225 MB / 0.665 GB, free: 132.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005247/1.19, allocations: 1.978 MB / 0.6669 GB, free: 131.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008053/1.191, allocations: 199.9 kB / 0.6671 GB, free: 131.9 MB / 494.1 MB Notification: Performance of SimCode: time 7.62e-07/1.191, allocations: 0 / 0.6671 GB, free: 131.9 MB / 494.1 MB Notification: Performance of Templates: time 0.05419/1.245, allocations: 29.95 MB / 0.6963 GB, free: 111.9 MB / 494.1 MB 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)