Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.Trajectory_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.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") translateModel(DeltaRobot.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 108.8 kB / 16.37 MB, free: 6.016 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.001212/0.001212, allocations: 195.2 kB / 17.31 MB, free: 5.613 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02556/0.02556, allocations: 5.227 MB / 296.4 MB, free: 9.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 71.89 kB / 358.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1999, allocations: 50.56 MB / 409.2 MB, free: 29.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.003552/0.2035, allocations: 3.647 MB / 412.8 MB, free: 26.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003649/0.2072, allocations: 3.457 MB / 416.3 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.2074, allocations: 8 kB / 416.3 MB, free: 22.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007778/0.2082, allocations: 290.8 kB / 416.6 MB, free: 22.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.2099, allocations: 0.9061 MB / 417.5 MB, free: 21.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.2102, allocations: 231.6 kB / 417.7 MB, free: 21.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.2113, allocations: 1.168 MB / 418.9 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004104/0.2117, allocations: 396.2 kB / 419.3 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.212, allocations: 486.3 kB / 419.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006974/0.2127, allocations: 0.8139 MB / 420.6 MB, free: 18.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.2129, allocations: 112 kB / 420.7 MB, free: 18.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.2142, allocations: 1.068 MB / 421.8 MB, free: 17.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003388/0.2146, allocations: 0.5027 MB / 422.3 MB, free: 16.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003987/0.215, allocations: 0.5715 MB / 422.8 MB, free: 16.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.2164, allocations: 1.889 MB / 424.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2165, allocations: 8 kB / 424.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2165, allocations: 0 / 424.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.2165, allocations: 0 / 424.7 MB, free: 14.37 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.004909/0.2214, allocations: 2.231 MB / 427 MB, free: 12.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2214, allocations: 12.03 kB / 427 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.2232, allocations: 294.6 kB / 427.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.2248, allocations: 1.072 MB / 428.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003555/0.2252, allocations: 271.7 kB / 428.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.951e-05/0.2253, allocations: 40 kB / 428.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005243/0.2306, allocations: 2.296 MB / 430.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2306, allocations: 0 / 430.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.467e-05/0.2307, allocations: 31.94 kB / 431 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.2307, allocations: 12 kB / 431 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009236/0.2399, allocations: 3.577 MB / 434.5 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.2427, allocations: 2.826 MB / 437.4 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006136/0.2488, allocations: 2.255 MB / 439.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00518/0.254, allocations: 1.773 MB / 441.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.2541, allocations: 11.94 kB / 441.4 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.2542, allocations: 46.55 kB / 441.5 MB, free: 13.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.925e-06/0.2542, allocations: 4 kB / 441.5 MB, free: 13.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.01603/0.2702, allocations: 5.208 MB / 446.7 MB, free: 8.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/0.2704, allocations: 397.5 kB / 447.1 MB, free: 7.527 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/0.2729, allocations: 1.49 MB / 448.5 MB, free: 6.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.2731, allocations: 37.64 kB / 448.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.2734, allocations: 396.7 kB / 449 MB, free: 5.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.2735, allocations: 110.5 kB / 449.1 MB, free: 5.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003434/0.2739, allocations: 130.1 kB / 449.2 MB, free: 5.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.274, allocations: 326 kB / 449.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005342/0.2794, allocations: 1.835 MB / 451.4 MB, free: 3.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005379/0.2848, allocations: 1.992 MB / 453.3 MB, free: 1.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/0.2948, allocations: 3.409 MB / 456.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.2948, allocations: 4 kB / 456.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01116/0.306, allocations: 3.762 MB / 460.5 MB, free: 9.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.306, allocations: 8.094 kB / 460.5 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3061, allocations: 4 kB / 460.5 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3061, allocations: 4 kB / 460.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/0.309, allocations: 0.7254 MB / 461.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.309, allocations: 11.88 kB / 461.3 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003148/0.3122, allocations: 0.7095 MB / 462 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.3123, allocations: 24 kB / 462 MB, free: 8.426 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (59): * Single equations (assignments): 59 * 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 0.0004985/0.3128, allocations: 341.5 kB / 462.3 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.3131, allocations: 90.88 kB / 462.4 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.3133, allocations: 100.2 kB / 462.5 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3133, allocations: 8.078 kB / 462.5 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.3133, allocations: 3.938 kB / 462.5 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3133, allocations: 11.98 kB / 462.6 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.3145, allocations: 0.9038 MB / 463.5 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3145, allocations: 4 kB / 463.5 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002832/0.3173, allocations: 0.6825 MB / 464.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.3174, allocations: 4 kB / 464.1 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.548e-05/0.3174, allocations: 11.98 kB / 464.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.3175, allocations: 7.938 kB / 464.2 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3175, allocations: 3.938 kB / 464.2 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.3279, allocations: 3.953 MB / 468.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.3282, allocations: 183.9 kB / 468.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.3284, allocations: 11.98 kB / 468.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/0.3316, allocations: 0.6786 MB / 469 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003884/0.332, allocations: 155.7 kB / 469.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/0.3321, allocations: 16 kB / 469.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001711/0.3338, allocations: 1.095 MB / 470.3 MB, free: 64 kB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3338, allocations: 4 kB / 470.3 MB, free: 60 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.001245/0.3351, allocations: 412 kB / 470.7 MB, free: 15.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (32): * Single equations (assignments): 32 * 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.0009295/0.336, allocations: 382.7 kB / 471 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.01088/0.3469, allocations: 3.656 MB / 474.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.3469, allocations: 0 / 474.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005587/0.3525, allocations: 1.966 MB / 476.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.3543, allocations: 253.7 kB / 476.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008791/0.3632, allocations: 3.105 MB / 480 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007284/0.3639, allocations: 1.101 MB / 481.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001036/0.3649, allocations: 292.9 kB / 481.4 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/0.3655, allocations: 63.41 kB / 481.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3655, allocations: 8 kB / 481.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of Templates: time 0.03483/0.4003, allocations: 24.46 MB / 0.4941 GB, free: 12.48 MB / 382.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.makefile (rm -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.Trajectory_test.sim & ./DeltaRobot_DeltaRobot.Tests.Trajectory_test -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1)