Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008041/0.008041, allocations: 101.4 kB / 15.73 MB, free: 6.031 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.001255/0.001255, allocations: 197 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.572/1.572, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3243/0.3243, allocations: 39.93 MB / 309.8 MB, free: 9.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.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.002924/0.002924, allocations: 75.89 kB / 435.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.4535, allocations: 56.87 MB / 492.6 MB, free: 19.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01163/0.4653, allocations: 7.535 MB / 0.4884 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00852/0.4738, allocations: 3.344 MB / 0.4917 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.4759, allocations: 35.72 kB / 0.4917 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.4782, allocations: 0.806 MB / 0.4925 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005108/0.4833, allocations: 1.313 MB / 0.4938 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.4853, allocations: 0.5399 MB / 0.4943 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00624/0.4915, allocations: 2.589 MB / 0.4969 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.4937, allocations: 1.242 MB / 0.4981 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.4953, allocations: 0.7911 MB / 0.4988 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.4973, allocations: 1.139 MB / 0.5 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006007/0.4979, allocations: 139.3 kB / 0.5001 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.5004, allocations: 0.937 MB / 0.501 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.5017, allocations: 1.022 MB / 0.502 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.5031, allocations: 1.224 MB / 0.5032 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006451/0.5096, allocations: 4.064 MB / 0.5072 GB, free: 2.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.5096, allocations: 1.344 kB / 0.5072 GB, free: 2.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.5096, allocations: 0 / 0.5072 GB, free: 2.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001791/0.5098, allocations: 11.92 kB / 0.5072 GB, free: 2.922 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.009021/0.5188, allocations: 2.968 MB / 0.5101 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.5189, allocations: 13.48 kB / 0.5101 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006765/0.5257, allocations: 1.642 MB / 0.5117 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005686/0.5315, allocations: 1.402 MB / 0.5131 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.5316, allocations: 128.6 kB / 0.5132 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004241/0.5321, allocations: 161.8 kB / 0.5133 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/0.5429, allocations: 6.459 MB / 0.5197 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-05/0.543, allocations: 35.64 kB / 0.5197 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000244/0.5432, allocations: 87.89 kB / 0.5198 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002706/0.5459, allocations: 1.445 MB / 0.5212 GB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.5579, allocations: 5.724 MB / 0.5268 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04811/0.6061, allocations: 26.72 MB / 0.5529 GB, free: 5.328 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008023/0.6141, allocations: 2.142 MB / 0.555 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002436/0.6166, allocations: 1.046 MB / 0.556 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003025/0.617, allocations: 178.5 kB / 0.5561 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.617, allocations: 42.89 kB / 0.5562 GB, free: 1.719 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 4.188e-06/0.6171, allocations: 0 / 0.5562 GB, free: 1.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=112): time 0.02235/0.6394, allocations: 6.391 MB / 0.5624 GB, free: 11.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/0.6396, allocations: 144.9 kB / 0.5626 GB, free: 11.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004877/0.6445, allocations: 2.906 MB / 0.5654 GB, free: 8.211 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002758/0.6448, allocations: 41.7 kB / 0.5654 GB, free: 8.164 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001715/0.6465, allocations: 2.106 MB / 0.5675 GB, free: 6.027 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005918/0.6471, allocations: 454.4 kB / 0.5679 GB, free: 5.578 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/0.6484, allocations: 0.9005 MB / 0.5688 GB, free: 4.664 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6486, allocations: 305.1 kB / 0.5691 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.6507, allocations: 1.43 MB / 0.5705 GB, free: 2.926 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004653/0.6554, allocations: 4.295 MB / 0.5747 GB, free: 13.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00961/0.665, allocations: 6.212 MB / 0.5808 GB, free: 5.535 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/0.6652, allocations: 28 kB / 0.5808 GB, free: 5.508 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01161/0.6769, allocations: 5.503 MB / 0.5862 GB, free: 15.99 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.954e-05/0.677, allocations: 52 kB / 0.5862 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/0.6771, allocations: 100 kB / 0.5863 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001223/0.6772, allocations: 136 kB / 0.5864 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004861/0.6821, allocations: 1.225 MB / 0.5876 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001989/0.6823, allocations: 203.2 kB / 0.5878 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003793/0.6861, allocations: 247.5 kB / 0.5881 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004019/0.6865, allocations: 280 kB / 0.5883 GB, free: 13.77 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002698/0.6892, allocations: 1.392 MB / 0.5897 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005749/0.6898, allocations: 236.9 kB / 0.5899 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.6918, allocations: 1.242 MB / 0.5911 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/0.6919, allocations: 16 kB / 0.5911 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.6919, allocations: 3.938 kB / 0.5911 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.6919, allocations: 3.984 kB / 0.5912 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009416/0.7013, allocations: 4.57 MB / 0.5956 GB, free: 6.168 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.7014, allocations: 4 kB / 0.5956 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/0.7033, allocations: 371.3 kB / 0.596 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.717e-05/0.7033, allocations: 8 kB / 0.596 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-05/0.7034, allocations: 20 kB / 0.596 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-05/0.7034, allocations: 12 kB / 0.596 GB, free: 5.762 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.7035, allocations: 7.938 kB / 0.596 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.7063, allocations: 2.159 MB / 0.5981 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.7075, allocations: 461.7 kB / 0.5986 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/0.7077, allocations: 20 kB / 0.5986 GB, free: 3.031 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009074/0.7086, allocations: 63.91 kB / 0.5986 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.7088, allocations: 71.8 kB / 0.5987 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.222e-05/0.7089, allocations: 36 kB / 0.5987 GB, free: 2.863 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002821/0.7117, allocations: 1.831 MB / 0.6005 GB, free: 1.027 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.7117, allocations: 0 / 0.6005 GB, free: 1.027 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003635/0.7154, allocations: 0.625 MB / 0.6011 GB, free: 412 kB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00042/0.7158, allocations: 166.8 kB / 0.6013 GB, free: 236 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005166/0.721, allocations: 3.27 MB / 0.6045 GB, free: 12.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.721, allocations: 0.9375 kB / 0.6045 GB, free: 12.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.7221, allocations: 0.804 MB / 0.6053 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.724, allocations: 262.6 kB / 0.6055 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.7348, allocations: 5.582 MB / 0.611 GB, free: 6.242 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/0.7371, allocations: 2.214 MB / 0.6132 GB, free: 4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003416/0.7406, allocations: 1.459 MB / 0.6146 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/0.7411, allocations: 179.4 kB / 0.6147 GB, free: 2.363 MB / 494.1 MB Notification: Performance of SimCode: time 7.61e-07/0.7412, allocations: 0 / 0.6147 GB, free: 2.363 MB / 494.1 MB Notification: Performance of Templates: time 0.3747/1.116, allocations: 19.33 MB / 0.6336 GB, free: 128.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe 2>&1)