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.001309/0.001309, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001306/0.001306, allocations: 183 kB / 17.34 MB, free: 5.766 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.332/1.332, allocations: 222.9 MB / 241 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.02592/0.02592, allocations: 5.222 MB / 296.4 MB, free: 9.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 55.91 kB / 409.7 MB, free: 26.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09018/0.09157, allocations: 50.57 MB / 460.3 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003982/0.09559, allocations: 2.223 MB / 462.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.09695, allocations: 0.6311 MB / 463.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.09715, allocations: 7.938 kB / 463.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.09744, allocations: 39.7 kB / 463.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.09764, allocations: 43.56 kB / 463.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.09798, allocations: 95.83 kB / 463.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.09831, allocations: 203.7 kB / 463.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.0986, allocations: 136.6 kB / 463.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.09876, allocations: 83.78 kB / 463.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.0989, allocations: 79.62 kB / 463.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.274e-05/0.09896, allocations: 20 kB / 463.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.173e-05/0.09901, allocations: 23.94 kB / 463.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.09908, allocations: 47.84 kB / 463.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.09919, allocations: 95.59 kB / 464 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.09948, allocations: 215.3 kB / 464.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.09949, allocations: 0 / 464.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0995, allocations: 3.938 kB / 464.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.946e-06/0.09951, allocations: 0 / 464.2 MB, free: 3.777 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.000819/0.1003, allocations: 490.8 kB / 464.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1004, allocations: 8.031 kB / 464.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.1005, allocations: 20.66 kB / 464.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.1009, allocations: 228.1 kB / 465 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1009, allocations: 8.375 kB / 465 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/0.101, allocations: 20.38 kB / 465 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.1014, allocations: 228.3 kB / 465.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.1015, allocations: 4 kB / 465.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.1015, allocations: 4 kB / 465.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1015, allocations: 4 kB / 465.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.1019, allocations: 139.9 kB / 465.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.103, allocations: 0.7614 MB / 466.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.1033, allocations: 102.5 kB / 466.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.1035, allocations: 44.94 kB / 466.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.1035, allocations: 0 / 466.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.1035, allocations: 38.44 kB / 466.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1036, allocations: 4 kB / 466.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005039/0.1041, allocations: 145.5 kB / 466.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.1041, allocations: 81.11 kB / 466.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.1043, allocations: 144.5 kB / 466.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.1043, allocations: 29.7 kB / 466.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.838e-05/0.1044, allocations: 147.8 kB / 466.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1045, allocations: 27.66 kB / 466.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.1045, allocations: 33.7 kB / 466.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1047, allocations: 322.8 kB / 467.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.1048, allocations: 48.83 kB / 467.3 MB, free: 496 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.105, allocations: 101 kB / 467.4 MB, free: 372 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.1053, allocations: 129.9 kB / 467.5 MB, free: 220 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1053, allocations: 3.938 kB / 467.5 MB, free: 216 kB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003884/0.1057, allocations: 173.3 kB / 467.7 MB, free: 36 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1058, allocations: 4 kB / 467.7 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1058, allocations: 0 / 467.7 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1058, allocations: 4 kB / 467.7 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.106, allocations: 36.02 kB / 467.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.106, allocations: 4 kB / 467.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.1061, allocations: 19.78 kB / 467.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.1062, allocations: 16.14 kB / 467.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001745/0.1063, allocations: 124.8 kB / 467.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001327/0.1065, allocations: 86.78 kB / 468 MB, free: 15.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002137/0.1067, allocations: 117.9 kB / 468.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.1067, allocations: 0 / 468.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003196/0.107, allocations: 145.4 kB / 468.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1071, allocations: 7.938 kB / 468.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.1071, allocations: 4 kB / 468.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-06/0.1071, allocations: 0 / 468.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1072, allocations: 27.98 kB / 468.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1072, allocations: 4 kB / 468.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.1073, allocations: 28.02 kB / 468.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1073, allocations: 4 kB / 468.3 MB, free: 15.36 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.0001152/0.1074, allocations: 192.1 kB / 468.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.1075, allocations: 11.84 kB / 468.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.1075, allocations: 12.7 kB / 468.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1075, allocations: 4 kB / 468.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1075, allocations: 0 / 468.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1076, allocations: 0 / 468.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.1078, allocations: 221.6 kB / 468.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1078, allocations: 4.25 kB / 468.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.108, allocations: 39.91 kB / 468.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.108, allocations: 0 / 468.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.108, allocations: 0 / 468.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.108, allocations: 0 / 468.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.108, allocations: 0 / 468.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004998/0.1085, allocations: 259.3 kB / 469 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.1086, allocations: 84.95 kB / 469.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.1086, allocations: 7.969 kB / 469.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1088, allocations: 7.984 kB / 469.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.1088, allocations: 11.98 kB / 469.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.1088, allocations: 0 / 469.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.192e-05/0.1089, allocations: 111.3 kB / 469.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1089, allocations: 0 / 469.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003868/0.1093, allocations: 75.53 kB / 469.3 MB, free: 14.24 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 0.0001027/0.1094, allocations: 100 kB / 469.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004881/0.1099, allocations: 160.1 kB / 469.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.1099, allocations: 0 / 469.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.1101, allocations: 39.97 kB / 469.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.1104, allocations: 34.33 kB / 469.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000884/0.1113, allocations: 456.5 kB / 470.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.1116, allocations: 0.72 MB / 470.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.1117, allocations: 15.44 kB / 470.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1117, allocations: 0 / 470.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of Templates: time 0.003917/0.1156, allocations: 1.79 MB / 472.6 MB, free: 10.89 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)