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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 113.4 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 191.7 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1502/0.1502, allocations: 5.21 MB / 303.1 MB, free: 3.695 MB / 238.1 MB " [Timeout remaining time 180] 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=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") translateModel(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.89 kB / 418.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2901, allocations: 50.57 MB / 469 MB, free: 21.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.00308/0.2932, allocations: 2.218 MB / 471.2 MB, free: 19.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009155/0.2941, allocations: 0.6317 MB / 471.9 MB, free: 19.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.2942, allocations: 3.656 kB / 471.9 MB, free: 19.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.2945, allocations: 43.67 kB / 471.9 MB, free: 19.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.097e-05/0.2946, allocations: 50.64 kB / 472 MB, free: 19.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.2948, allocations: 94.27 kB / 472.1 MB, free: 19.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.2951, allocations: 213.5 kB / 472.3 MB, free: 18.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.2953, allocations: 113.1 kB / 472.4 MB, free: 18.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.2954, allocations: 79.08 kB / 472.5 MB, free: 18.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.2956, allocations: 90.84 kB / 472.5 MB, free: 18.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.2956, allocations: 19.62 kB / 472.6 MB, free: 18.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.337e-05/0.2957, allocations: 20.53 kB / 472.6 MB, free: 18.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.2957, allocations: 43.22 kB / 472.6 MB, free: 18.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.824e-05/0.2958, allocations: 99.31 kB / 472.7 MB, free: 18.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.2961, allocations: 217.8 kB / 472.9 MB, free: 18.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2961, allocations: 1.062 kB / 472.9 MB, free: 18.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2961, allocations: 0 / 472.9 MB, free: 18.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.2961, allocations: 0 / 472.9 MB, free: 18.63 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.0006156/0.2967, allocations: 488.1 kB / 473.4 MB, free: 18.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2968, allocations: 8.969 kB / 473.4 MB, free: 18.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.2968, allocations: 22.7 kB / 473.4 MB, free: 18.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.2971, allocations: 230.7 kB / 473.7 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.2971, allocations: 12.19 kB / 473.7 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.2972, allocations: 19.81 kB / 473.7 MB, free: 17.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.2976, allocations: 219.2 kB / 473.9 MB, free: 17.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.2976, allocations: 8 kB / 473.9 MB, free: 17.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.2976, allocations: 6.156 kB / 473.9 MB, free: 17.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.2976, allocations: 10.16 kB / 473.9 MB, free: 17.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.298, allocations: 137.6 kB / 474.1 MB, free: 17.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009046/0.2989, allocations: 0.7663 MB / 474.8 MB, free: 17.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.2992, allocations: 100.2 kB / 474.9 MB, free: 17.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.2994, allocations: 43.31 kB / 475 MB, free: 17.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.2994, allocations: 1.438 kB / 475 MB, free: 17.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.2994, allocations: 43.14 kB / 475 MB, free: 17.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.364e-06/0.2994, allocations: 5.422 kB / 475 MB, free: 17.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000518/0.3, allocations: 138.6 kB / 475.2 MB, free: 16.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.3, allocations: 87.19 kB / 475.2 MB, free: 16.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3001, allocations: 148.7 kB / 475.4 MB, free: 16.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.3002, allocations: 30.2 kB / 475.4 MB, free: 16.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.3002, allocations: 148.4 kB / 475.6 MB, free: 16.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.3003, allocations: 24.52 kB / 475.6 MB, free: 16.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.3003, allocations: 33.64 kB / 475.6 MB, free: 16.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.372e-05/0.3004, allocations: 320.4 kB / 475.9 MB, free: 16.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.3005, allocations: 50.75 kB / 476 MB, free: 16.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3007, allocations: 97.44 kB / 476.1 MB, free: 16.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.301, allocations: 144.9 kB / 476.2 MB, free: 16.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.301, allocations: 1.156 kB / 476.2 MB, free: 16.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003639/0.3014, allocations: 169.4 kB / 476.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3014, allocations: 6.625 kB / 476.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3014, allocations: 1.031 kB / 476.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3014, allocations: 6.469 kB / 476.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.3016, allocations: 36.41 kB / 476.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.3016, allocations: 3.312 kB / 476.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3017, allocations: 18.03 kB / 476.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3018, allocations: 8.125 kB / 476.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001384/0.3019, allocations: 122.7 kB / 476.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001185/0.302, allocations: 88.45 kB / 476.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001963/0.3022, allocations: 117 kB / 476.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.3022, allocations: 0 / 476.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002648/0.3025, allocations: 133.5 kB / 476.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.3025, allocations: 13.62 kB / 476.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.3025, allocations: 1.891 kB / 476.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-06/0.3025, allocations: 2.75 kB / 476.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3026, allocations: 32.58 kB / 477 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.3027, allocations: 2.031 kB / 477 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.3028, allocations: 23 kB / 477 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.3028, allocations: 4.828 kB / 477 MB, free: 15.61 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 5.839e-05/0.3028, allocations: 188.3 kB / 477.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.3029, allocations: 20.67 kB / 477.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.3029, allocations: 20.75 kB / 477.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3029, allocations: 0 / 477.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3029, allocations: 1.375 kB / 477.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3029, allocations: 0.9844 kB / 477.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.3031, allocations: 235.4 kB / 477.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3032, allocations: 1.375 kB / 477.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.3033, allocations: 27.77 kB / 477.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3033, allocations: 0 / 477.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3033, allocations: 2.031 kB / 477.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3033, allocations: 4 kB / 477.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3033, allocations: 0 / 477.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.3038, allocations: 251.2 kB / 477.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/0.3039, allocations: 91.19 kB / 477.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3039, allocations: 2.188 kB / 477.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.304, allocations: 15.38 kB / 477.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.3041, allocations: 4.906 kB / 477.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.3041, allocations: 2.094 kB / 477.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.485e-05/0.3042, allocations: 113.2 kB / 478 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3042, allocations: 0.9688 kB / 478 MB, free: 14.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003473/0.3045, allocations: 78.72 kB / 478 MB, free: 14.77 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 8.24e-05/0.3046, allocations: 96.72 kB / 478.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004723/0.3051, allocations: 148 kB / 478.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3051, allocations: 0.75 kB / 478.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.3052, allocations: 50.28 kB / 478.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.3056, allocations: 24.61 kB / 478.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007417/0.3063, allocations: 454.7 kB / 478.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.3065, allocations: 0.7253 MB / 479.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.3065, allocations: 12.94 kB / 479.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3065, allocations: 0 / 479.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Templates: time 0.004066/0.3106, allocations: 1.804 MB / 481.3 MB, free: 13.39 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.887002362171188] Failed to read output from testmodel.py, exit status != 0: 0.31756727513857186 0.32804663999999994 0.029790778 Calling exit ...