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.004881/0.004881, allocations: 99.58 kB / 15.73 MB, free: 6.016 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.001086/0.001086, allocations: 193 kB / 16.67 MB, free: 5.934 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02455/0.02455, allocations: 5.226 MB / 295.7 MB, free: 9.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 55.91 kB / 409.1 MB, free: 26.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09156/0.09278, allocations: 50.57 MB / 459.6 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003241/0.09605, allocations: 2.216 MB / 461.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009671/0.09704, allocations: 0.6467 MB / 462.5 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.669e-05/0.09714, allocations: 4 kB / 462.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.09736, allocations: 39.64 kB / 462.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.388e-05/0.09746, allocations: 39.62 kB / 462.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.09773, allocations: 95.81 kB / 462.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.09797, allocations: 207.7 kB / 462.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.09821, allocations: 128.7 kB / 463 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.09832, allocations: 75.78 kB / 463.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.09844, allocations: 91.56 kB / 463.2 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.09848, allocations: 20 kB / 463.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.429e-05/0.09852, allocations: 20 kB / 463.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.09857, allocations: 47.83 kB / 463.2 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.453e-05/0.09866, allocations: 91.59 kB / 463.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.09891, allocations: 215.2 kB / 463.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.09892, allocations: 3.938 kB / 463.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09893, allocations: 0 / 463.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.09894, allocations: 0 / 463.5 MB, free: 3.645 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.0006409/0.09959, allocations: 490.6 kB / 464 MB, free: 3.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.09963, allocations: 12.03 kB / 464 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.09969, allocations: 16.84 kB / 464.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.09997, allocations: 232 kB / 464.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.1, allocations: 12.38 kB / 464.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.1, allocations: 28.36 kB / 464.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.1005, allocations: 216.4 kB / 464.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1005, allocations: 0 / 464.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.1005, allocations: 8 kB / 464.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1005, allocations: 4 kB / 464.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.101, allocations: 143.8 kB / 464.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009745/0.1019, allocations: 0.7501 MB / 465.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.1023, allocations: 110.4 kB / 465.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.1024, allocations: 44.95 kB / 465.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1024, allocations: 3.984 kB / 465.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.1025, allocations: 38.5 kB / 465.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1025, allocations: 4 kB / 465.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005109/0.103, allocations: 145.5 kB / 465.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.1031, allocations: 77.11 kB / 465.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1032, allocations: 156.5 kB / 466 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1032, allocations: 25.7 kB / 466 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.1033, allocations: 156.1 kB / 466.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.1033, allocations: 23.78 kB / 466.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.1034, allocations: 37.67 kB / 466.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.1035, allocations: 318.8 kB / 466.6 MB, free: 396 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.1036, allocations: 52.81 kB / 466.6 MB, free: 340 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.1038, allocations: 98.83 kB / 466.7 MB, free: 216 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.1042, allocations: 137.8 kB / 466.8 MB, free: 56 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1042, allocations: 0 / 466.8 MB, free: 56 kB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003901/0.1046, allocations: 161.4 kB / 467 MB, free: 15.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1046, allocations: 8 kB / 467 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1046, allocations: 0 / 467 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1046, allocations: 7.984 kB / 467 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.1048, allocations: 35.92 kB / 467 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.1048, allocations: 4 kB / 467 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.105, allocations: 24.06 kB / 467.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.105, allocations: 4 kB / 467.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001587/0.1051, allocations: 128.8 kB / 467.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001311/0.1053, allocations: 89.95 kB / 467.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000227/0.1055, allocations: 117.9 kB / 467.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/0.1055, allocations: 8 kB / 467.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002863/0.1058, allocations: 133.5 kB / 467.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/0.1058, allocations: 7.938 kB / 467.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.1059, allocations: 4 kB / 467.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/0.1059, allocations: 0 / 467.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.106, allocations: 31.92 kB / 467.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.106, allocations: 8.172 kB / 467.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.85e-05/0.1061, allocations: 12 kB / 467.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.1061, allocations: 4 kB / 467.6 MB, free: 15.22 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.0001/0.1062, allocations: 192.2 kB / 467.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.1062, allocations: 15.84 kB / 467.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.1063, allocations: 12.72 kB / 467.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1063, allocations: 0 / 467.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1063, allocations: 0 / 467.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1063, allocations: 3.938 kB / 467.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.1066, allocations: 237.5 kB / 468.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1066, allocations: 3.984 kB / 468.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.1067, allocations: 28.11 kB / 468.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1067, allocations: 4 kB / 468.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1067, allocations: 4 kB / 468.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1067, allocations: 0 / 468.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1068, allocations: 0 / 468.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.1073, allocations: 251.4 kB / 468.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.1073, allocations: 96.95 kB / 468.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.1074, allocations: 0 / 468.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1075, allocations: 11.98 kB / 468.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.1075, allocations: 8 kB / 468.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1075, allocations: 4.062 kB / 468.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.34e-05/0.1076, allocations: 107.2 kB / 468.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.1076, allocations: 4 kB / 468.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003537/0.108, allocations: 75.67 kB / 468.6 MB, free: 14.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 9.05e-05/0.1081, allocations: 96.05 kB / 468.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000482/0.1086, allocations: 156.1 kB / 468.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1086, allocations: 0 / 468.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1087, allocations: 47.91 kB / 468.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.1091, allocations: 19.92 kB / 469 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007453/0.1098, allocations: 442.1 kB / 469.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1101, allocations: 0.7239 MB / 470.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.671e-05/0.1101, allocations: 8.562 kB / 470.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.1102, allocations: 11.44 kB / 470.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1102, allocations: 0 / 470.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of Templates: time 0.003874/0.1141, allocations: 1.484 MB / 471.6 MB, free: 11.08 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)