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: "" <> buildModelFMU(DeltaRobot.Tests.Trajectory_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_Trajectory_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.Trajectory_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_Trajectory_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.0008872/0.0008874, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001074/0.001074, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.202/0.202, allocations: 5.191 MB / 296.3 MB, free: 4.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003235, allocations: 8 kB / 358.4 MB, free: 1.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1167, allocations: 51.55 MB / 410 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.005703/0.1224, allocations: 5.64 MB / 415.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005934/0.1284, allocations: 3.747 MB / 419.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004009/0.1288, allocations: 12 kB / 419.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008811/0.1297, allocations: 338 kB / 419.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.1327, allocations: 1.518 MB / 421.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.1333, allocations: 239.6 kB / 421.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.1348, allocations: 1.242 MB / 422.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004746/0.1353, allocations: 324.7 kB / 423 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.1357, allocations: 422.5 kB / 423.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2261/0.3618, allocations: 0.7552 MB / 424.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003801/0.3623, allocations: 47.97 kB / 424.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.3644, allocations: 0.8615 MB / 425.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004311/0.3648, allocations: 442.3 kB / 425.5 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.3651, allocations: 205.8 kB / 425.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.3664, allocations: 1.44 MB / 427.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3664, allocations: 2.969 kB / 427.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3664, allocations: 0 / 427.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.3664, allocations: 2.094 kB / 427.2 MB, free: 34.95 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.004835/0.3713, allocations: 2.173 MB / 429.3 MB, free: 34.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3713, allocations: 9.781 kB / 429.4 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/0.3715, allocations: 90.95 kB / 429.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/0.3759, allocations: 0.6074 MB / 430 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/0.3787, allocations: 1.621 MB / 431.7 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.04533/0.424, allocations: 12.03 MB / 443.7 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005788/0.4247, allocations: 40.62 kB / 443.7 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06113/0.4858, allocations: 15.72 MB / 459.5 MB, free: 29.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.4859, allocations: 3.875 kB / 459.5 MB, free: 29.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003212/0.4862, allocations: 19.78 kB / 459.5 MB, free: 29.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.4862, allocations: 10.28 kB / 459.5 MB, free: 29.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1133/0.5995, allocations: 29.66 MB / 489.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005873/0.6055, allocations: 4.645 MB / 493.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06164/0.6671, allocations: 15.35 MB / 0.4972 GB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.05809/0.7253, allocations: 14.79 MB / 0.5117 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.7256, allocations: 4 kB / 0.5117 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.7256, allocations: 53.58 kB / 0.5117 GB, free: 6.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 3.326e-06/0.7256, allocations: 2.406 kB / 0.5117 GB, free: 6.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.174/0.8996, allocations: 42.68 MB / 0.5534 GB, free: 12.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000233/0.8999, allocations: 395.8 kB / 0.5538 GB, free: 12.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004616/0.9045, allocations: 2.138 MB / 0.5559 GB, free: 9.871 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006467/0.9052, allocations: 36.89 kB / 0.5559 GB, free: 9.832 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004787/0.9057, allocations: 431.1 kB / 0.5563 GB, free: 9.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006384/0.9064, allocations: 109.4 kB / 0.5564 GB, free: 9.305 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003731/0.9068, allocations: 8 kB / 0.5564 GB, free: 9.297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.9069, allocations: 310 kB / 0.5567 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05891/0.9658, allocations: 14.74 MB / 0.5711 GB, free: 10.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2529/1.219, allocations: 14.86 MB / 0.5856 GB, free: 140.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05222/1.271, allocations: 12.95 MB / 0.5983 GB, free: 140.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/1.271, allocations: 0 / 0.5983 GB, free: 140.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.1111/1.382, allocations: 27.94 MB / 0.6255 GB, free: 127.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/1.382, allocations: 4 kB / 0.6256 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/1.382, allocations: 4 kB / 0.6256 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/1.382, allocations: 0.625 kB / 0.6256 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02628/1.409, allocations: 6.441 MB / 0.6318 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/1.409, allocations: 4 kB / 0.6318 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02647/1.435, allocations: 6.407 MB / 0.6381 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005005/1.436, allocations: 86.52 kB / 0.6382 GB, free: 114.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008809/1.437, allocations: 337.8 kB / 0.6385 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005563/1.437, allocations: 103.1 kB / 0.6386 GB, free: 114.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/1.437, allocations: 115.3 kB / 0.6387 GB, free: 114.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.437, allocations: 4.844 kB / 0.6387 GB, free: 114.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.437, allocations: 4 kB / 0.6387 GB, free: 114.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.437, allocations: 3.984 kB / 0.6387 GB, free: 114.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/1.439, allocations: 1.863 MB / 0.6406 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.439, allocations: 4.5 kB / 0.6406 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02656/1.466, allocations: 6.44 MB / 0.6468 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/1.466, allocations: 4 kB / 0.6468 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005141/1.467, allocations: 59.45 kB / 0.6469 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/1.467, allocations: 4 kB / 0.6469 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.467, allocations: 0.5625 kB / 0.6469 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1123/1.579, allocations: 28.41 MB / 0.6747 GB, free: 78.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007687/1.58, allocations: 341.4 kB / 0.675 GB, free: 78.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007411/1.58, allocations: 8 kB / 0.675 GB, free: 78.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02759/1.608, allocations: 6.386 MB / 0.6812 GB, free: 71.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001643/1.61, allocations: 0.9944 MB / 0.6822 GB, free: 70.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002962/1.61, allocations: 88.45 kB / 0.6823 GB, free: 70.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002542/1.613, allocations: 1.616 MB / 0.6839 GB, free: 69.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.613, allocations: 0 / 0.6839 GB, free: 69.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002138/1.615, allocations: 0.6862 MB / 0.6845 GB, free: 68.4 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1075/1.722, allocations: 29.11 MB / 0.7129 GB, free: 39.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1104/1.833, allocations: 29.59 MB / 0.7418 GB, free: 9.648 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/1.833, allocations: 0 / 0.7418 GB, free: 9.648 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.253/2.086, allocations: 17.92 MB / 0.7593 GB, free: 139.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/2.088, allocations: 229 kB / 0.7596 GB, free: 139.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2415/2.33, allocations: 66.14 MB / 0.8241 GB, free: 99.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/2.33, allocations: 1.112 MB / 0.8252 GB, free: 98.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003882/2.334, allocations: 0.8704 MB / 0.8261 GB, free: 97.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/2.336, allocations: 435.1 kB / 0.8265 GB, free: 97.18 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/2.336, allocations: 0 / 0.8265 GB, free: 97.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08293/2.419, allocations: 78.42 MB / 0.9031 GB, free: 18.78 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001141/2.419, allocations: 161.8 kB / 0.9032 GB, free: 18.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.547/5.966, allocations: 0 / 0.9032 GB, free: 18.54 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_DeltaRobot_DeltaRobot_Tests_Trajectory_test_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_Trajectory_test.fmu > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1) Environment - environmentSimulation: