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.001183/0.001184, allocations: 103.2 kB / 16.36 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.001094/0.001094, allocations: 198 kB / 17.3 MB, free: 5.883 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.322/1.322, 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.02547/0.02547, allocations: 5.225 MB / 296.4 MB, free: 9.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.91 kB / 358.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2088, allocations: 50.56 MB / 409.2 MB, free: 29.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002825/0.2117, allocations: 2.229 MB / 411.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007579/0.2124, allocations: 0.6304 MB / 412 MB, free: 27.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.151e-05/0.2125, allocations: 4 kB / 412.1 MB, free: 27.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.2127, allocations: 39.64 kB / 412.1 MB, free: 27.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.2128, allocations: 51.55 kB / 412.1 MB, free: 26.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.2131, allocations: 91.83 kB / 412.2 MB, free: 26.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.2133, allocations: 211.7 kB / 412.4 MB, free: 26.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.2135, allocations: 113.5 kB / 412.5 MB, free: 26.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.95e-05/0.2136, allocations: 83.7 kB / 412.6 MB, free: 26.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.83e-05/0.2136, allocations: 91.61 kB / 412.7 MB, free: 26.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.2137, allocations: 20 kB / 412.7 MB, free: 26.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.58e-05/0.2137, allocations: 24 kB / 412.8 MB, free: 26.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.2137, allocations: 39.86 kB / 412.8 MB, free: 26.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.2138, allocations: 95.53 kB / 412.9 MB, free: 26.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.214, allocations: 217 kB / 413.1 MB, free: 26.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.214, allocations: 4 kB / 413.1 MB, free: 26.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.214, allocations: 0 / 413.1 MB, free: 26.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.214, allocations: 0 / 413.1 MB, free: 26.02 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.000539/0.2146, allocations: 490.8 kB / 413.6 MB, free: 25.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2146, allocations: 11.97 kB / 413.6 MB, free: 25.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.2146, allocations: 20.66 kB / 413.6 MB, free: 25.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.2149, allocations: 228 kB / 413.8 MB, free: 25.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2149, allocations: 16.38 kB / 413.9 MB, free: 25.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.2149, allocations: 16.38 kB / 413.9 MB, free: 25.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.2153, allocations: 224.4 kB / 414.1 MB, free: 24.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.2153, allocations: 7.844 kB / 414.1 MB, free: 24.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.2153, allocations: 8 kB / 414.1 MB, free: 24.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2153, allocations: 4 kB / 414.1 MB, free: 24.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.2156, allocations: 143.8 kB / 414.3 MB, free: 24.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007785/0.2164, allocations: 0.7577 MB / 415 MB, free: 23.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.2167, allocations: 98.52 kB / 415.1 MB, free: 23.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.2168, allocations: 40.89 kB / 415.1 MB, free: 23.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.2168, allocations: 7.984 kB / 415.2 MB, free: 23.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.2168, allocations: 38.5 kB / 415.2 MB, free: 23.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.2169, allocations: 0 / 415.2 MB, free: 23.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004269/0.2173, allocations: 149.4 kB / 415.3 MB, free: 23.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.2173, allocations: 81.11 kB / 415.4 MB, free: 23.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/0.2174, allocations: 152.3 kB / 415.6 MB, free: 23.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.2174, allocations: 25.7 kB / 415.6 MB, free: 23.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.2175, allocations: 139.9 kB / 415.7 MB, free: 23.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.2175, allocations: 31.64 kB / 415.8 MB, free: 23.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.2176, allocations: 25.72 kB / 415.8 MB, free: 23.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.2176, allocations: 322.8 kB / 416.1 MB, free: 22.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.2177, allocations: 48.81 kB / 416.1 MB, free: 22.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.2179, allocations: 94.83 kB / 416.2 MB, free: 22.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.2181, allocations: 137.9 kB / 416.4 MB, free: 22.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2181, allocations: 0 / 416.4 MB, free: 22.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003201/0.2185, allocations: 177.2 kB / 416.5 MB, free: 22.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2185, allocations: 4 kB / 416.6 MB, free: 22.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2185, allocations: 4 kB / 416.6 MB, free: 22.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2185, allocations: 0 / 416.6 MB, free: 22.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.2187, allocations: 35.92 kB / 416.6 MB, free: 22.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.2187, allocations: 4.062 kB / 416.6 MB, free: 22.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.2188, allocations: 23.92 kB / 416.6 MB, free: 22.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.2188, allocations: 12.14 kB / 416.6 MB, free: 22.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001199/0.2189, allocations: 120.1 kB / 416.7 MB, free: 22.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.985e-05/0.219, allocations: 82.83 kB / 416.8 MB, free: 21.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001728/0.2192, allocations: 117.9 kB / 416.9 MB, free: 21.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.2192, allocations: 0 / 416.9 MB, free: 21.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002342/0.2195, allocations: 137.4 kB / 417.1 MB, free: 21.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.2195, allocations: 14.12 kB / 417.1 MB, free: 21.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-06/0.2195, allocations: 3.938 kB / 417.1 MB, free: 21.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-06/0.2195, allocations: 4 kB / 417.1 MB, free: 21.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.2196, allocations: 35.91 kB / 417.1 MB, free: 21.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.2196, allocations: 4 kB / 417.1 MB, free: 21.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.393e-05/0.2197, allocations: 20.08 kB / 417.2 MB, free: 21.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.2197, allocations: 4 kB / 417.2 MB, free: 21.6 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.106e-05/0.2198, allocations: 196.1 kB / 417.4 MB, free: 21.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.2198, allocations: 11.84 kB / 417.4 MB, free: 21.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.2199, allocations: 8.719 kB / 417.4 MB, free: 21.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2199, allocations: 4 kB / 417.4 MB, free: 21.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2199, allocations: 0 / 417.4 MB, free: 21.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2199, allocations: 256 / 417.4 MB, free: 21.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.2201, allocations: 237.5 kB / 417.6 MB, free: 21.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2201, allocations: 8 kB / 417.6 MB, free: 21.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.2202, allocations: 27.92 kB / 417.6 MB, free: 21.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2202, allocations: 0 / 417.6 MB, free: 21.06 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.2202, allocations: 0 / 417.6 MB, free: 21.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2203, allocations: 0 / 417.6 MB, free: 21.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2203, allocations: 7.984 kB / 417.7 MB, free: 21.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.2207, allocations: 259.3 kB / 417.9 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.2207, allocations: 88.98 kB / 418 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.2207, allocations: 4 kB / 418 MB, free: 20.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.2209, allocations: 11.98 kB / 418 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.2209, allocations: 3.984 kB / 418 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2209, allocations: 4 kB / 418 MB, free: 20.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.171e-05/0.221, allocations: 111.3 kB / 418.1 MB, free: 20.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.221, allocations: 0 / 418.1 MB, free: 20.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.2213, allocations: 75.59 kB / 418.2 MB, free: 20.47 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.343e-05/0.2214, allocations: 92.05 kB / 418.3 MB, free: 20.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003989/0.2218, allocations: 156.1 kB / 418.4 MB, free: 20.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2218, allocations: 0 / 418.4 MB, free: 20.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.2219, allocations: 43.95 kB / 418.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.2223, allocations: 28 kB / 418.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.2229, allocations: 426.5 kB / 418.9 MB, free: 19.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.223, allocations: 0.7201 MB / 419.6 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.602e-05/0.2231, allocations: 16.53 kB / 419.7 MB, free: 18.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.2231, allocations: 15.44 kB / 419.7 MB, free: 18.93 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2231, allocations: 0 / 419.7 MB, free: 18.93 MB / 302.1 MB Notification: Performance of Templates: time 0.003499/0.2266, allocations: 1.475 MB / 421.2 MB, free: 17.48 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 -s cvode -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1)