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.00122/0.00122, allocations: 109.1 kB / 16.41 MB, free: 6.449 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.001228/0.001228, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.159/1.159, 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.02311/0.02311, allocations: 5.221 MB / 296.4 MB, free: 9.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 59.91 kB / 409.7 MB, free: 26.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07074/0.07186, allocations: 50.56 MB / 460.3 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002894/0.07479, allocations: 2.227 MB / 462.5 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008408/0.07564, allocations: 0.6428 MB / 463.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.242e-05/0.07574, allocations: 7.938 kB / 463.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.07593, allocations: 35.7 kB / 463.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.07602, allocations: 43.58 kB / 463.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.07626, allocations: 87.83 kB / 463.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.07647, allocations: 211.7 kB / 463.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.07668, allocations: 128.6 kB / 463.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.832e-05/0.07679, allocations: 79.78 kB / 463.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.379e-05/0.07689, allocations: 87.61 kB / 463.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.07693, allocations: 24 kB / 463.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.506e-05/0.07696, allocations: 20 kB / 463.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.077, allocations: 43.84 kB / 463.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.169e-05/0.07708, allocations: 91.59 kB / 464 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.07731, allocations: 219.2 kB / 464.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.07732, allocations: 0 / 464.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.07733, allocations: 3.938 kB / 464.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.07734, allocations: 0 / 464.2 MB, free: 3.652 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.0005913/0.07794, allocations: 494.6 kB / 464.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.07797, allocations: 11.89 kB / 464.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.07802, allocations: 20.84 kB / 464.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.07828, allocations: 228 kB / 465 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.07831, allocations: 16.38 kB / 465 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.07835, allocations: 20.36 kB / 465 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.07874, allocations: 224.3 kB / 465.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.07876, allocations: 0 / 465.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.07879, allocations: 8 kB / 465.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.0788, allocations: 8 kB / 465.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.07916, allocations: 135.9 kB / 465.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008866/0.08005, allocations: 0.7539 MB / 466.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.08034, allocations: 106.5 kB / 466.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.08047, allocations: 36.95 kB / 466.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.0805, allocations: 8 kB / 466.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.08053, allocations: 42.38 kB / 466.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.08053, allocations: 0 / 466.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004609/0.081, allocations: 153.5 kB / 466.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.08105, allocations: 77.11 kB / 466.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.08117, allocations: 152.3 kB / 466.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.08119, allocations: 25.7 kB / 466.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.599e-05/0.08127, allocations: 148.1 kB / 466.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.08129, allocations: 27.78 kB / 466.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.08135, allocations: 41.67 kB / 466.9 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.08145, allocations: 318.8 kB / 467.2 MB, free: 400 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.0816, allocations: 48.81 kB / 467.3 MB, free: 348 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.08177, allocations: 102.8 kB / 467.4 MB, free: 220 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.08206, allocations: 129.9 kB / 467.5 MB, free: 68 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.08207, allocations: 7.938 kB / 467.5 MB, free: 60 kB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003716/0.08245, allocations: 169.5 kB / 467.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.08247, allocations: 7.438 kB / 467.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.08248, allocations: 7.984 kB / 467.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.0825, allocations: 0 / 467.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.08265, allocations: 31.98 kB / 467.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.08267, allocations: 0 / 467.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.08278, allocations: 27.88 kB / 467.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.0828, allocations: 12.14 kB / 467.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001482/0.08295, allocations: 124.9 kB / 467.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001201/0.08308, allocations: 85.14 kB / 468 MB, free: 15.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000205/0.08329, allocations: 113.9 kB / 468.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.61e-07/0.0833, allocations: 0 / 468.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002632/0.08357, allocations: 141.4 kB / 468.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.08359, allocations: 11.94 kB / 468.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-06/0.08359, allocations: 0 / 468.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/0.0836, allocations: 4 kB / 468.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.08371, allocations: 31.97 kB / 468.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.08372, allocations: 4 kB / 468.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.193e-05/0.08382, allocations: 12.19 kB / 468.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.08383, allocations: 4 kB / 468.3 MB, free: 15.23 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 8.676e-05/0.08392, allocations: 196.1 kB / 468.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.08396, allocations: 15.84 kB / 468.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.084, allocations: 12.72 kB / 468.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.084, allocations: 0 / 468.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.08401, allocations: 0 / 468.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.08402, allocations: 0 / 468.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.08423, allocations: 237.5 kB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.08424, allocations: 8.234 kB / 468.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.08438, allocations: 31.86 kB / 468.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.08439, allocations: 0 / 468.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.0844, allocations: 0 / 468.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.08441, allocations: 4 kB / 468.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.08441, allocations: 0 / 468.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.08487, allocations: 255.3 kB / 469 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.08493, allocations: 93.02 kB / 469.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.08496, allocations: 7.828 kB / 469.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.08508, allocations: 11.98 kB / 469.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.08511, allocations: 0 / 469.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.08512, allocations: 4 kB / 469.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.513e-05/0.08519, allocations: 115.3 kB / 469.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0852, allocations: 0 / 469.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003391/0.08554, allocations: 75.73 kB / 469.3 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 6.896e-05/0.08562, allocations: 92.05 kB / 469.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004377/0.08606, allocations: 156.1 kB / 469.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.08607, allocations: 4 kB / 469.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.08621, allocations: 35.97 kB / 469.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.0865, allocations: 23.98 kB / 469.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/0.08717, allocations: 467.8 kB / 470.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.08742, allocations: 0.72 MB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.08747, allocations: 19.44 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of SimCode: time 1.91e-07/0.08747, allocations: 0 / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of Templates: time 0.002785/0.09026, allocations: 1.787 MB / 472.6 MB, free: 10.74 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)