Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(DeltaRobot.Tests.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") translateModel(DeltaRobot.Tests.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006729/0.0006729, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0007255/0.0007255, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.2651/0.2651, allocations: 5.202 MB / 296.3 MB, free: 4.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005439/0.000544, allocations: 12 kB / 358.3 MB, free: 1.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1575, allocations: 51.54 MB / 409.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.01448/0.172, allocations: 13.44 MB / 423.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3649/0.5369, allocations: 4.424 MB / 427.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003516/0.5405, allocations: 57.5 kB / 427.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.5432, allocations: 0.6665 MB / 428.5 MB, free: 33.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008541/0.5518, allocations: 2.19 MB / 430.7 MB, free: 33.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.5543, allocations: 471.3 kB / 431.1 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005024/0.5593, allocations: 2.974 MB / 434.1 MB, free: 32.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003558/0.5629, allocations: 1.951 MB / 436.1 MB, free: 32.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.5646, allocations: 0.7932 MB / 436.9 MB, free: 32.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.5664, allocations: 1.246 MB / 438.1 MB, free: 32.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003212/0.5668, allocations: 90.34 kB / 438.2 MB, free: 32.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.5685, allocations: 0.744 MB / 438.9 MB, free: 32.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.5698, allocations: 1.001 MB / 439.9 MB, free: 31.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000794/0.5706, allocations: 0.5361 MB / 440.5 MB, free: 31.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004344/0.5749, allocations: 3.311 MB / 443.8 MB, free: 31.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.5749, allocations: 3.188 kB / 443.8 MB, free: 31.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.575, allocations: 4 kB / 443.8 MB, free: 31.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.921e-05/0.5751, allocations: 0 / 443.8 MB, free: 31.56 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 996 * Number of variables: 996 Notification: Performance of Generate backend data structure: time 0.006396/0.5815, allocations: 2.688 MB / 446.5 MB, free: 30.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.793e-05/0.5816, allocations: 11.81 kB / 446.5 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005918/0.5875, allocations: 1.714 MB / 448.2 MB, free: 30.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004725/0.5922, allocations: 1.439 MB / 449.6 MB, free: 29.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.5924, allocations: 138.5 kB / 449.8 MB, free: 29.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005457/0.593, allocations: 181.6 kB / 450 MB, free: 29.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/0.6067, allocations: 6.752 MB / 456.7 MB, free: 27.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.462e-05/0.6068, allocations: 35.17 kB / 456.7 MB, free: 27.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002752/0.6071, allocations: 90.48 kB / 456.8 MB, free: 27.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002798/0.6099, allocations: 1.455 MB / 458.3 MB, free: 27.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0173/0.6272, allocations: 6.006 MB / 464.3 MB, free: 25.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0529/0.6802, allocations: 27.55 MB / 491.8 MB, free: 20.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005525/0.6858, allocations: 2.416 MB / 494.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.6877, allocations: 1.085 MB / 495.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.6879, allocations: 11.95 kB / 495.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/0.6879, allocations: 54.22 kB / 495.4 MB, free: 18.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 6.212e-06/0.6879, allocations: 0 / 495.4 MB, free: 18.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.02187/0.7098, allocations: 7.973 MB / 0.4916 GB, free: 10.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/0.7101, allocations: 174.5 kB / 0.4917 GB, free: 10.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007023/0.7171, allocations: 2.918 MB / 0.4946 GB, free: 7.656 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003769/0.7175, allocations: 37.7 kB / 0.4946 GB, free: 7.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002451/0.72, allocations: 2.184 MB / 0.4968 GB, free: 5.438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009793/0.721, allocations: 455.2 kB / 0.4972 GB, free: 5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006044/0.7216, allocations: 84 kB / 0.4973 GB, free: 4.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0005646/0.7222, allocations: 0.492 MB / 0.4978 GB, free: 4.418 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/0.7256, allocations: 1.469 MB / 0.4992 GB, free: 2.941 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005907/0.7315, allocations: 4.324 MB / 0.5034 GB, free: 13.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004322/0.7358, allocations: 2.458 MB / 0.5058 GB, free: 10.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/0.736, allocations: 28 kB / 0.5058 GB, free: 10.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01225/0.7482, allocations: 5.57 MB / 0.5113 GB, free: 5.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.003512/0.7518, allocations: 3.077 MB / 0.5143 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002359/0.752, allocations: 104 kB / 0.5144 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/0.7522, allocations: 148 kB / 0.5145 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004305/0.7566, allocations: 1.248 MB / 0.5157 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001933/0.7568, allocations: 203.5 kB / 0.5159 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003886/0.7607, allocations: 251.5 kB / 0.5162 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007621/0.7615, allocations: 280.2 kB / 0.5164 GB, free: 14.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.7615, allocations: 7.938 kB / 0.5165 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01037/0.7719, allocations: 5.302 MB / 0.5216 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003508/0.7723, allocations: 100 kB / 0.5217 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/0.7725, allocations: 148 kB / 0.5219 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004454/0.7769, allocations: 1.24 MB / 0.5231 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002274/0.7772, allocations: 199.2 kB / 0.5233 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003923/0.7811, allocations: 247.5 kB / 0.5235 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009269/0.7821, allocations: 280 kB / 0.5238 GB, free: 6.902 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],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],idealActuatorPos.revolute.cylinderColor[3],idealActuatorPos.revolute.cylinderColor[2],idealActuatorPos.revolute.cylinderColor[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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004055/0.7861, allocations: 1.526 MB / 0.5253 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008456/0.787, allocations: 240.8 kB / 0.5255 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.79, allocations: 1.32 MB / 0.5268 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.659e-05/0.7901, allocations: 16 kB / 0.5268 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/0.7901, allocations: 4 kB / 0.5268 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/0.7901, allocations: 3.984 kB / 0.5268 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/0.8026, allocations: 4.325 MB / 0.531 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/0.8027, allocations: 0 / 0.531 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/0.8045, allocations: 379.4 kB / 0.5314 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.1e-05/0.8046, allocations: 8.031 kB / 0.5314 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.8047, allocations: 16 kB / 0.5314 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.8047, allocations: 4 kB / 0.5314 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8047, allocations: 0 / 0.5314 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004849/0.8096, allocations: 3.238 MB / 0.5346 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/0.811, allocations: 465.8 kB / 0.535 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007117/0.8117, allocations: 23.92 kB / 0.535 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.8131, allocations: 75.11 kB / 0.5351 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.8133, allocations: 56.31 kB / 0.5352 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/0.8134, allocations: 32 kB / 0.5352 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004452/0.8178, allocations: 1.812 MB / 0.537 GB, free: 9.273 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.8178, allocations: 0 / 0.537 GB, free: 9.273 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.009163/0.827, allocations: 1.187 MB / 0.5381 GB, free: 8.086 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (idealActuatorPos.revolute.phi,idealActuatorPos.revolute.w,idealActuatorPos.firstOrder.y) * 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 (88): * Single equations (assignments): 85 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005811/0.8276, allocations: 145.5 kB / 0.5383 GB, free: 7.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01272/0.8403, allocations: 5.924 MB / 0.5441 GB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.8404, allocations: 480 / 0.5441 GB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.8419, allocations: 0.8386 MB / 0.5449 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003436/0.8454, allocations: 276.1 kB / 0.5451 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.8606, allocations: 6.903 MB / 0.5519 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003899/0.8645, allocations: 2.304 MB / 0.5541 GB, free: 7.684 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.007209/0.8718, allocations: 2.52 MB / 0.5566 GB, free: 5.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007416/0.8725, allocations: 167.4 kB / 0.5567 GB, free: 4.992 MB / 430.1 MB Notification: Performance of SimCode: time 1.483e-06/0.8726, allocations: 0 / 0.5567 GB, free: 4.992 MB / 430.1 MB Notification: Performance of Templates: time 0.2977/1.17, allocations: 21.81 MB / 0.578 GB, free: 119.4 MB / 446.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.makefile Environment - environmentSimulation: (rm -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.sim & ./DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1) Environment - environmentSimulation: