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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006653/0.0006653, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009238/0.001589, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000885/0.000885, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009144/0.001799, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9155/0.9155, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0866/1.002, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.02454/0.02454, allocations: 4.083 MB / 248.2 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0043/0.02884, allocations: 1.617 MB / 249.9 MB, free: 9.141 MB / 250.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(DeltaRobot.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") translateModel(DeltaRobot.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 3.938 kB / 251.2 MB, free: 7.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.691e-05, allocations: 2.312 kB / 251.2 MB, free: 7.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.004815/0.004832, allocations: 3.656 MB / 254.9 MB, free: 4.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005205/0.01004, allocations: 3.483 MB / 258.4 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.01028, allocations: 4 kB / 258.4 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.01093, allocations: 274.9 kB / 258.6 MB, free: 328 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.01293, allocations: 0.9027 MB / 259.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.01338, allocations: 247.5 kB / 259.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.01478, allocations: 1.192 MB / 261 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.01517, allocations: 231.5 kB / 261.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009146/0.01608, allocations: 0.8265 MB / 262 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007166/0.0168, allocations: 0.7678 MB / 262.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.01698, allocations: 116 kB / 262.9 MB, free: 12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.0184, allocations: 1.025 MB / 263.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003959/0.0188, allocations: 427 kB / 264.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00045/0.01925, allocations: 299.4 kB / 264.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.02076, allocations: 1.433 MB / 266.1 MB, free: 8.828 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.02076, allocations: 4 kB / 266.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02077, allocations: 0 / 266.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.531e-05/0.02079, allocations: 0 / 266.1 MB, free: 8.824 MB / 266.7 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.003801/0.02459, allocations: 1.892 MB / 268 MB, free: 6.898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.02463, allocations: 23.92 kB / 268 MB, free: 6.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.02608, allocations: 313.1 kB / 268.3 MB, free: 6.551 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.02746, allocations: 0.6919 MB / 269 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004254/0.02789, allocations: 487 kB / 269.5 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.02801, allocations: 44 kB / 269.5 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.02944, allocations: 0.8488 MB / 270.4 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.02945, allocations: 0 / 270.4 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/0.02951, allocations: 27.94 kB / 270.4 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.02952, allocations: 8 kB / 270.4 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.03003, allocations: 223.4 kB / 270.6 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.03152, allocations: 1.824 MB / 272.4 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.03195, allocations: 492.8 kB / 272.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.03217, allocations: 113.1 kB / 273 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.034e-05/0.03222, allocations: 11.94 kB / 273 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.03225, allocations: 42.55 kB / 273.1 MB, free: 1.379 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.393e-06/0.03225, allocations: 0 / 273.1 MB, free: 1.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008489/0.0331, allocations: 342.7 kB / 273.4 MB, free: 1.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.03316, allocations: 187.9 kB / 273.6 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1146/0.1478, allocations: 0.8334 MB / 274.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.148, allocations: 31.92 kB / 274.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.1481, allocations: 282.5 kB / 274.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.1483, allocations: 118.5 kB / 274.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002729/0.1485, allocations: 111.5 kB / 275 MB, free: 14.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.643e-05/0.1486, allocations: 327 kB / 275.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.1489, allocations: 104.2 kB / 275.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.1493, allocations: 436.9 kB / 275.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/0.1498, allocations: 361 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1498, allocations: 0 / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008613/0.1507, allocations: 408.6 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.1507, allocations: 7.031 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1507, allocations: 2.438 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1507, allocations: 4.75 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009653/0.1517, allocations: 361.5 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1517, allocations: 5.25 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009421/0.1527, allocations: 273.9 kB / 277.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/0.1527, allocations: 24.22 kB / 277.2 MB, free: 13.67 MB / 266.7 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.0002473/0.153, allocations: 141.6 kB / 277.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.1532, allocations: 61.69 kB / 277.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.1533, allocations: 88.08 kB / 277.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.1533, allocations: 5.438 kB / 277.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1533, allocations: 2.125 kB / 277.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1533, allocations: 2.703 kB / 277.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.1539, allocations: 364.3 kB / 277.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.154, allocations: 2.25 kB / 277.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007654/0.1547, allocations: 305.7 kB / 278.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.1548, allocations: 93.44 kB / 278.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1548, allocations: 3.25 kB / 278.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.1549, allocations: 11.7 kB / 278.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.1549, allocations: 2.875 kB / 278.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1549, allocations: 1.281 kB / 278.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007277/0.1556, allocations: 0.9797 MB / 279.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.1557, allocations: 12.45 kB / 279.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008729/0.1566, allocations: 261.5 kB / 279.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.1569, allocations: 128 kB / 279.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.1569, allocations: 15.66 kB / 279.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004871/0.1574, allocations: 429.7 kB / 280.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1574, allocations: 3.406 kB / 280.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000981/0.1584, allocations: 434.7 kB / 280.5 MB, free: 12.6 MB / 266.7 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.0007554/0.1591, allocations: 405.7 kB / 280.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008392/0.16, allocations: 335.1 kB / 281.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.729e-05/0.16, allocations: 10.56 kB / 281.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007077/0.1607, allocations: 351.3 kB / 281.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.162, allocations: 2.566 MB / 284.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00781/0.1698, allocations: 1.789 MB / 286 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.1701, allocations: 230 kB / 286.2 MB, free: 8.977 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0008364/0.1709, allocations: 125.9 kB / 286.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008312/0.1718, allocations: 268.1 kB / 286.6 MB, free: 8.887 MB / 266.7 MB Notification: Performance of SimCode: time 1.793e-06/0.1718, allocations: 0 / 286.6 MB, free: 8.887 MB / 266.7 MB Notification: Performance of Templates: time 0.02798/0.1997, allocations: 28.26 MB / 314.8 MB, free: 2.359 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.makefile [Timeout 660] (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 & (cd run_cvode && ../DeltaRobot_DeltaRobot.Tests.Trajectory_test -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1) [Timeout 240] (rm -f DeltaRobot_DeltaRobot.Tests.Trajectory_test_dassl.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.Trajectory_test_dassl.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.Trajectory_test_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/DeltaRobot_DeltaRobot.Tests.Trajectory_test_dassl.sim & (cd run_dassl && ../DeltaRobot_DeltaRobot.Tests.Trajectory_test -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > DeltaRobot_DeltaRobot.Tests.Trajectory_test_dassl.pipe 2>&1) [Timeout 240] (rm -f DeltaRobot_DeltaRobot.Tests.Trajectory_test_gbode.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.Trajectory_test_gbode.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.Trajectory_test_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/DeltaRobot_DeltaRobot.Tests.Trajectory_test_gbode.sim & (cd run_gbode && ../DeltaRobot_DeltaRobot.Tests.Trajectory_test -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > DeltaRobot_DeltaRobot.Tests.Trajectory_test_gbode.pipe 2>&1) [Timeout 240] (rm -f DeltaRobot_DeltaRobot.Tests.Trajectory_test_ida.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.Trajectory_test_ida.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.Trajectory_test_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/DeltaRobot_DeltaRobot.Tests.Trajectory_test_ida.sim & (cd run_ida && ../DeltaRobot_DeltaRobot.Tests.Trajectory_test -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > DeltaRobot_DeltaRobot.Tests.Trajectory_test_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.19718686491251]