Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.ServoMotor_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.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") translateModel(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 111 kB / 16.42 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.001145/0.001145, allocations: 187.3 kB / 17.35 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02635/0.02635, allocations: 5.226 MB / 296.4 MB, free: 9.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.89 kB / 409.7 MB, free: 26.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.111, allocations: 50.58 MB / 460.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003854/0.1149, allocations: 2.227 MB / 462.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.116, allocations: 0.635 MB / 463.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1162, allocations: 4 kB / 463.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.1164, allocations: 39.64 kB / 463.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.249e-05/0.1165, allocations: 47.61 kB / 463.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.1168, allocations: 87.83 kB / 463.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.1171, allocations: 207.7 kB / 463.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.1174, allocations: 124.6 kB / 463.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1175, allocations: 79.78 kB / 463.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.1176, allocations: 91.61 kB / 463.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.1177, allocations: 20 kB / 463.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.195e-05/0.1177, allocations: 20 kB / 463.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.523e-05/0.1178, allocations: 43.8 kB / 463.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.542e-05/0.1179, allocations: 91.59 kB / 464 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.1181, allocations: 215.2 kB / 464.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.1182, allocations: 0 / 464.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1182, allocations: 3.938 kB / 464.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1182, allocations: 4 kB / 464.2 MB, free: 3.684 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007735/0.119, allocations: 494.5 kB / 464.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.119, allocations: 8.031 kB / 464.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.1191, allocations: 20.84 kB / 464.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1194, allocations: 224.1 kB / 465 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1195, allocations: 16.38 kB / 465 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.1195, allocations: 24.31 kB / 465 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.12, allocations: 224.3 kB / 465.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.12, allocations: 0 / 465.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.12, allocations: 4 kB / 465.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.12, allocations: 8 kB / 465.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.1204, allocations: 139.8 kB / 465.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.1215, allocations: 0.7579 MB / 466.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.1218, allocations: 106.4 kB / 466.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.1219, allocations: 40.95 kB / 466.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.122, allocations: 0 / 466.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.122, allocations: 46.5 kB / 466.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.122, allocations: 0 / 466.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005228/0.1225, allocations: 141.5 kB / 466.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1226, allocations: 77.11 kB / 466.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.1227, allocations: 148.5 kB / 466.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1228, allocations: 33.7 kB / 466.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.1229, allocations: 148.1 kB / 466.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.1229, allocations: 23.8 kB / 466.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.123, allocations: 53.53 kB / 466.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1231, allocations: 318.8 kB / 467.2 MB, free: 432 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.1233, allocations: 44.83 kB / 467.3 MB, free: 384 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.1234, allocations: 98.83 kB / 467.4 MB, free: 260 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.1238, allocations: 133.9 kB / 467.5 MB, free: 104 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1238, allocations: 7.938 kB / 467.5 MB, free: 96 kB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003804/0.1242, allocations: 169.4 kB / 467.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1242, allocations: 7.938 kB / 467.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1242, allocations: 4 kB / 467.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1242, allocations: 0 / 467.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.1244, allocations: 35.97 kB / 467.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1244, allocations: 4.125 kB / 467.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1245, allocations: 27.88 kB / 467.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1246, allocations: 4 kB / 467.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00016/0.1247, allocations: 128.8 kB / 467.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001373/0.1249, allocations: 78.84 kB / 468 MB, free: 15.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002205/0.1251, allocations: 117.9 kB / 468.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.1251, allocations: 3.938 kB / 468.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003007/0.1254, allocations: 133.5 kB / 468.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.1254, allocations: 8 kB / 468.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1254, allocations: 3.938 kB / 468.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-06/0.1255, allocations: 4 kB / 468.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1256, allocations: 28.17 kB / 468.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1256, allocations: 7.938 kB / 468.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.581e-05/0.1257, allocations: 15.98 kB / 468.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1257, allocations: 4.25 kB / 468.3 MB, free: 15.26 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 initialization (13): * Single equations (assignments): 13 * Array equations: 0 * 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.0001178/0.1258, allocations: 188.2 kB / 468.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1259, allocations: 15.84 kB / 468.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.1259, allocations: 16.7 kB / 468.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1259, allocations: 0 / 468.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1259, allocations: 8 kB / 468.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.126, allocations: 85 kB / 468.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.126, allocations: 4 kB / 468.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1261, allocations: 11.98 kB / 468.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.1262, allocations: 7.984 kB / 468.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004598/0.1267, allocations: 204.8 kB / 468.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005586/0.1272, allocations: 338.6 kB / 469.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001461/0.1274, allocations: 48.05 kB / 469.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.471e-05/0.1275, allocations: 107.3 kB / 469.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of Backend: time 4.91e-07/0.1275, allocations: 3.938 kB / 469.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006303/0.1281, allocations: 199.1 kB / 469.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of SimCode: time 0.00103/0.1292, allocations: 0.8765 MB / 470.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Templates: time 0.005292/0.1345, allocations: 1.823 MB / 472.2 MB, free: 11.27 MB / 350.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.makefile (rm -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.ServoMotor_test.sim & ./DeltaRobot_DeltaRobot.Tests.ServoMotor_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1)