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.001038/0.001038, allocations: 106.2 kB / 15.98 MB, free: 6.336 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.0009185/0.0009185, allocations: 194.8 kB / 16.91 MB, free: 6.18 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.217/1.217, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02293/0.02293, allocations: 5.225 MB / 295.9 MB, free: 9.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 63.89 kB / 357.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2127, allocations: 50.56 MB / 407.9 MB, free: 30.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003659/0.2164, allocations: 2.274 MB / 410.2 MB, free: 27.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.2174, allocations: 0.6273 MB / 410.8 MB, free: 27.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.2176, allocations: 4 kB / 410.8 MB, free: 27.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.2179, allocations: 31.78 kB / 410.8 MB, free: 27.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.697e-05/0.218, allocations: 35.75 kB / 410.9 MB, free: 27.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.2182, allocations: 90.86 kB / 411 MB, free: 27.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.2184, allocations: 203.7 kB / 411.2 MB, free: 27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.2187, allocations: 124.8 kB / 411.3 MB, free: 26.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.293e-05/0.2188, allocations: 71.78 kB / 411.3 MB, free: 26.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.311e-05/0.2189, allocations: 91.61 kB / 411.4 MB, free: 26.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.2189, allocations: 20 kB / 411.5 MB, free: 26.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.78e-05/0.2189, allocations: 20 kB / 411.5 MB, free: 26.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.219, allocations: 39.86 kB / 411.5 MB, free: 26.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.164e-05/0.219, allocations: 103.5 kB / 411.6 MB, free: 26.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.2192, allocations: 169.6 kB / 411.8 MB, free: 26.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2192, allocations: 3.938 kB / 411.8 MB, free: 26.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2192, allocations: 0 / 411.8 MB, free: 26.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.2192, allocations: 3.984 kB / 411.8 MB, free: 26.36 MB / 302.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.0005648/0.2198, allocations: 478.9 kB / 412.3 MB, free: 25.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2198, allocations: 12.03 kB / 412.3 MB, free: 25.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.2199, allocations: 24.66 kB / 412.3 MB, free: 25.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.2201, allocations: 220.1 kB / 412.5 MB, free: 25.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2201, allocations: 12.38 kB / 412.5 MB, free: 25.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.2202, allocations: 20.38 kB / 412.5 MB, free: 25.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.2205, allocations: 216.3 kB / 412.7 MB, free: 25.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.2205, allocations: 7.906 kB / 412.8 MB, free: 25.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.2206, allocations: 8 kB / 412.8 MB, free: 25.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2206, allocations: 4 kB / 412.8 MB, free: 25.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.2209, allocations: 143.8 kB / 412.9 MB, free: 25.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007674/0.2217, allocations: 0.7616 MB / 413.7 MB, free: 24.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.2219, allocations: 98.52 kB / 413.8 MB, free: 24.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.222, allocations: 44.94 kB / 413.8 MB, free: 24.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.2221, allocations: 3.984 kB / 413.8 MB, free: 24.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.853e-05/0.2221, allocations: 38.5 kB / 413.9 MB, free: 24.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2221, allocations: 4 kB / 413.9 MB, free: 24.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004305/0.2225, allocations: 145.4 kB / 414 MB, free: 23.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.2226, allocations: 77.11 kB / 414.1 MB, free: 23.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.433e-05/0.2227, allocations: 157.8 kB / 414.2 MB, free: 23.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.2227, allocations: 33.64 kB / 414.3 MB, free: 23.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.2228, allocations: 147.9 kB / 414.4 MB, free: 23.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.2228, allocations: 27.64 kB / 414.4 MB, free: 23.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.2228, allocations: 29.7 kB / 414.5 MB, free: 23.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.2229, allocations: 318.8 kB / 414.8 MB, free: 23.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.223, allocations: 52.81 kB / 414.8 MB, free: 23.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.2232, allocations: 98.77 kB / 414.9 MB, free: 22.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.2234, allocations: 133.9 kB / 415 MB, free: 22.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2234, allocations: 0 / 415 MB, free: 22.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002993/0.2237, allocations: 169.2 kB / 415.2 MB, free: 22.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2237, allocations: 8 kB / 415.2 MB, free: 22.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2237, allocations: 0 / 415.2 MB, free: 22.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2238, allocations: 7.938 kB / 415.2 MB, free: 22.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.2239, allocations: 31.97 kB / 415.3 MB, free: 22.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2239, allocations: 4 kB / 415.3 MB, free: 22.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.224, allocations: 20.11 kB / 415.3 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2241, allocations: 4 kB / 415.3 MB, free: 22.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001176/0.2242, allocations: 128.1 kB / 415.4 MB, free: 22.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.551e-05/0.2243, allocations: 86.78 kB / 415.5 MB, free: 22.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001646/0.2245, allocations: 121.9 kB / 415.6 MB, free: 22.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.2245, allocations: 4.078 kB / 415.6 MB, free: 22.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002252/0.2247, allocations: 133.4 kB / 415.8 MB, free: 22.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/0.2247, allocations: 15.86 kB / 415.8 MB, free: 22.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.2247, allocations: 4 kB / 415.8 MB, free: 22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-06/0.2247, allocations: 0 / 415.8 MB, free: 22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.2248, allocations: 28.17 kB / 415.8 MB, free: 21.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.2248, allocations: 8 kB / 415.8 MB, free: 21.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.986e-05/0.2249, allocations: 15.89 kB / 415.8 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.2249, allocations: 8 kB / 415.8 MB, free: 21.95 MB / 302.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 6.772e-05/0.225, allocations: 188.1 kB / 416 MB, free: 21.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.225, allocations: 11.84 kB / 416 MB, free: 21.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.2251, allocations: 12.72 kB / 416 MB, free: 21.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2251, allocations: 0 / 416 MB, free: 21.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2251, allocations: 256 / 416 MB, free: 21.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.2251, allocations: 11.98 kB / 416.1 MB, free: 21.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.2253, allocations: 237.5 kB / 416.3 MB, free: 21.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2253, allocations: 0 / 416.3 MB, free: 21.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.2254, allocations: 27.92 kB / 416.3 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2254, allocations: 0 / 416.3 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2255, allocations: 0 / 416.3 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2255, allocations: 3.984 kB / 416.3 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2255, allocations: 0 / 416.3 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.2259, allocations: 267.2 kB / 416.6 MB, free: 21.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.2259, allocations: 84.95 kB / 416.7 MB, free: 21.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.226, allocations: 0 / 416.7 MB, free: 21.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2261, allocations: 15.98 kB / 416.7 MB, free: 21.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.2261, allocations: 8.047 kB / 416.7 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.2261, allocations: 4 kB / 416.7 MB, free: 21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.576e-05/0.2262, allocations: 107.3 kB / 416.8 MB, free: 20.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2262, allocations: 0 / 416.8 MB, free: 20.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003278/0.2265, allocations: 75.59 kB / 416.9 MB, free: 20.82 MB / 302.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 7.874e-05/0.2266, allocations: 91.25 kB / 417 MB, free: 20.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004075/0.227, allocations: 160 kB / 417.1 MB, free: 20.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.227, allocations: 0 / 417.1 MB, free: 20.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.2272, allocations: 43.95 kB / 417.2 MB, free: 20.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.2275, allocations: 23.7 kB / 417.2 MB, free: 20.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007106/0.2283, allocations: 0.5199 MB / 417.7 MB, free: 19.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.2284, allocations: 0.7201 MB / 418.4 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.2285, allocations: 15.44 kB / 418.4 MB, free: 19.19 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2285, allocations: 0 / 418.4 MB, free: 19.19 MB / 302.1 MB Notification: Performance of Templates: time 0.002855/0.2313, allocations: 1.784 MB / 420.2 MB, free: 17.41 MB / 302.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)