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: "" <> buildModelFMU(DeltaRobot.Tests.ServoMotor_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.ServoMotor_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001118/0.001118, allocations: 189.2 kB / 16.14 MB, free: 6.66 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.162/1.162, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1041/0.1041, allocations: 5.191 MB / 295.2 MB, free: 2.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 63.91 kB / 356.6 MB, free: 2.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07217/0.07322, allocations: 50.56 MB / 407.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002793/0.07604, allocations: 2.272 MB / 409.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007503/0.07681, allocations: 0.6351 MB / 410.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.771e-05/0.0769, allocations: 7.938 kB / 410.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.07708, allocations: 31.77 kB / 410.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.486e-05/0.07715, allocations: 31.77 kB / 410.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.07737, allocations: 79.86 kB / 410.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.07755, allocations: 191.7 kB / 410.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.07774, allocations: 120.8 kB / 410.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.752e-05/0.07782, allocations: 71.72 kB / 410.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.092e-05/0.07792, allocations: 79.67 kB / 410.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.07796, allocations: 16 kB / 410.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.891e-05/0.07799, allocations: 15.94 kB / 410.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.132e-05/0.07803, allocations: 31.91 kB / 410.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.212e-05/0.0781, allocations: 83.55 kB / 410.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.07829, allocations: 215.3 kB / 411 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.0783, allocations: 0 / 411 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.07831, allocations: 4 kB / 411 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.07831, allocations: 0 / 411 MB, free: 11.71 MB / 350.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.0005671/0.07888, allocations: 486.8 kB / 411.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.07892, allocations: 8.031 kB / 411.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.07897, allocations: 50.73 kB / 411.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.07902, allocations: 20.66 kB / 411.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.07921, allocations: 224.1 kB / 411.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.07924, allocations: 16.38 kB / 411.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.07927, allocations: 20.38 kB / 411.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.07964, allocations: 220.1 kB / 412 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.07967, allocations: 7.891 kB / 412.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.07969, allocations: 8 kB / 412.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.0797, allocations: 4 kB / 412.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.08003, allocations: 143.8 kB / 412.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008617/0.0809, allocations: 0.7654 MB / 413 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.08117, allocations: 98.52 kB / 413.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.08129, allocations: 44.94 kB / 413.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.08132, allocations: 7.938 kB / 413.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.08135, allocations: 34.56 kB / 413.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.08135, allocations: 3.938 kB / 413.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004406/0.0818, allocations: 153.4 kB / 413.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.08185, allocations: 81.05 kB / 413.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.08196, allocations: 145.8 kB / 413.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.08198, allocations: 25.7 kB / 413.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.08206, allocations: 155.8 kB / 413.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.08208, allocations: 15.66 kB / 413.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.08214, allocations: 37.7 kB / 413.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.08223, allocations: 318.8 kB / 414.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.08238, allocations: 48.83 kB / 414.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.08254, allocations: 102.8 kB / 414.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.08281, allocations: 129.9 kB / 414.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.08282, allocations: 0 / 414.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003353/0.08316, allocations: 169.3 kB / 414.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.08318, allocations: 8 kB / 414.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.08319, allocations: 0 / 414.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.08321, allocations: 4 kB / 414.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.08335, allocations: 39.91 kB / 414.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.08337, allocations: 4 kB / 414.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.08347, allocations: 15.89 kB / 414.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.08349, allocations: 4.156 kB / 414.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001387/0.08363, allocations: 132.1 kB / 414.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001129/0.08375, allocations: 93.97 kB / 414.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001805/0.08394, allocations: 109.9 kB / 414.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.01e-07/0.08395, allocations: 0 / 414.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002418/0.0842, allocations: 141.4 kB / 415.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/0.08421, allocations: 7.938 kB / 415.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.08422, allocations: 3.938 kB / 415.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-06/0.08423, allocations: 4 kB / 415.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.08432, allocations: 27.98 kB / 415.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.08433, allocations: 0 / 415.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.636e-05/0.08443, allocations: 24.02 kB / 415.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.08445, allocations: 8 kB / 415.1 MB, free: 7.234 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 6.617e-05/0.08452, allocations: 192.1 kB / 415.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.08455, allocations: 11.84 kB / 415.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.08459, allocations: 16.7 kB / 415.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.0846, allocations: 0 / 415.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.08461, allocations: 0 / 415.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.08461, allocations: 3.938 kB / 415.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.0848, allocations: 233.6 kB / 415.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.08481, allocations: 3.938 kB / 415.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.08495, allocations: 24.23 kB / 415.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.08496, allocations: 7.922 kB / 415.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.08498, allocations: 8 kB / 415.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.08498, allocations: 0 / 415.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.08499, allocations: 0 / 415.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.08541, allocations: 255.3 kB / 415.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.08545, allocations: 92.97 kB / 416 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.08548, allocations: 0 / 416 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.08559, allocations: 11.98 kB / 416 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.08563, allocations: 11.98 kB / 416 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.08564, allocations: 0 / 416 MB, free: 6.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.924e-05/0.0857, allocations: 105.9 kB / 416.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.08571, allocations: 4 kB / 416.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000328/0.08604, allocations: 79.53 kB / 416.2 MB, free: 6.105 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.000618/0.08667, allocations: 0.7904 MB / 417 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003807/0.08706, allocations: 148.5 kB / 417.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.08707, allocations: 0 / 417.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.08719, allocations: 47.97 kB / 417.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.0875, allocations: 26.77 kB / 417.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.08947, allocations: 1.936 MB / 419.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.0897, allocations: 0.7242 MB / 419.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.253e-05/0.08977, allocations: 16.53 kB / 419.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.08984, allocations: 47.42 kB / 419.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.08985, allocations: 8 kB / 419.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.196/1.286, allocations: 2.626 MB / 422.5 MB, free: 47.03 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/1.286, allocations: 171.7 kB / 422.7 MB, free: 46.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/3.037, allocations: 0 / 422.7 MB, free: 46.78 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_DeltaRobot_DeltaRobot_Tests_ServoMotor_test_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_ServoMotor_test.fmu > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1)