Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001962/0.001962, allocations: 111.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002176/0.002176, allocations: 211.5 kB / 22.25 MB, free: 5.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 230.3 MB / 255.7 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo): time 0.04853/0.04853, allocations: 8.103 MB / 320.2 MB, free: 11.45 MB / 254.1 MB " [Timeout remaining time 180] Using package VehicleInterfaces with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 75.88 kB / 446.3 MB, free: 1.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1186, allocations: 55.24 MB / 0.4898 GB, free: 10.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.007573/0.1262, allocations: 5.611 MB / 0.4953 GB, free: 4.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003784/0.13, allocations: 2.009 MB / 0.4973 GB, free: 2.824 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.1303, allocations: 23.94 kB / 0.4973 GB, free: 2.801 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009783/0.1313, allocations: 438.1 kB / 0.4977 GB, free: 2.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.1327, allocations: 0.7119 MB / 0.4984 GB, free: 1.656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.1329, allocations: 95.77 kB / 0.4985 GB, free: 1.562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.1347, allocations: 1.518 MB / 0.5 GB, free: 44 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004524/0.1352, allocations: 238.3 kB / 0.5002 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005782/0.1358, allocations: 0.4979 MB / 0.5007 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009752/0.1367, allocations: 0.79 MB / 0.5015 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.1369, allocations: 80 kB / 0.5015 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007232/0.1376, allocations: 407.3 kB / 0.5019 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000681/0.1383, allocations: 0.7164 MB / 0.5026 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008445/0.1392, allocations: 0.8611 MB / 0.5035 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.1423, allocations: 2.753 MB / 0.5062 GB, free: 9.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1423, allocations: 0 / 0.5062 GB, free: 9.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1423, allocations: 0 / 0.5062 GB, free: 9.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.21e-05/0.1423, allocations: 0 / 0.5062 GB, free: 9.676 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.003869/0.1462, allocations: 2.103 MB / 0.5082 GB, free: 7.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1462, allocations: 11.89 kB / 0.5082 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005287/0.1515, allocations: 1.497 MB / 0.5097 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.1532, allocations: 0.8062 MB / 0.5105 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.339e-05/0.1533, allocations: 78.03 kB / 0.5105 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007395/0.154, allocations: 247.8 kB / 0.5108 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2325/0.3865, allocations: 5.04 MB / 0.5157 GB, free: 25.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-05/0.3866, allocations: 25.38 kB / 0.5157 GB, free: 25.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.3868, allocations: 69.53 kB / 0.5158 GB, free: 25.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001635/0.3884, allocations: 1.148 MB / 0.5169 GB, free: 25.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007426/0.3958, allocations: 4.297 MB / 0.5211 GB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02035/0.4162, allocations: 20.55 MB / 0.5412 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.4176, allocations: 0.8363 MB / 0.542 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005262/0.4182, allocations: 408.2 kB / 0.5424 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.4182, allocations: 6.672 kB / 0.5424 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.4182, allocations: 54.61 kB / 0.5424 GB, free: 9.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.346e-06/0.4182, allocations: 0 / 0.5424 GB, free: 9.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.005883/0.4241, allocations: 4.003 MB / 0.5464 GB, free: 7.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.4242, allocations: 147.5 kB / 0.5465 GB, free: 7.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/0.427, allocations: 2.394 MB / 0.5488 GB, free: 6.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-05/0.4271, allocations: 35.48 kB / 0.5489 GB, free: 6.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007346/0.4278, allocations: 1.841 MB / 0.5507 GB, free: 4.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.4281, allocations: 476.4 kB / 0.5511 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008069/0.4289, allocations: 0.8248 MB / 0.5519 GB, free: 3.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.429, allocations: 352 kB / 0.5523 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.4304, allocations: 1.279 MB / 0.5535 GB, free: 2.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002864/0.4333, allocations: 3.906 MB / 0.5573 GB, free: 14.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007128/0.4404, allocations: 5.66 MB / 0.5629 GB, free: 8.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.48e-05/0.4405, allocations: 28 kB / 0.5629 GB, free: 8.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.009198/0.4497, allocations: 4.974 MB / 0.5677 GB, free: 3.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/0.4498, allocations: 50.25 kB / 0.5678 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001226/0.451, allocations: 0.7634 MB / 0.5685 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/0.4512, allocations: 124 kB / 0.5687 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/0.4541, allocations: 0.9435 MB / 0.5696 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001668/0.4543, allocations: 186 kB / 0.5698 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002698/0.457, allocations: 219.7 kB / 0.57 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000408/0.4574, allocations: 260 kB / 0.5702 GB, free: 1.426 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 12 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (509): * Single equations (assignments): 503 * Array equations: 6 * 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.001896/0.4593, allocations: 1.195 MB / 0.5714 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005025/0.4598, allocations: 214.6 kB / 0.5716 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006388/0.4604, allocations: 267 kB / 0.5718 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001016/0.4614, allocations: 0.7113 MB / 0.5725 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.4614, allocations: 3.938 kB / 0.5725 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.4615, allocations: 3.984 kB / 0.5725 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006156/0.4676, allocations: 3.183 MB / 0.5756 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/0.4676, allocations: 12 kB / 0.5757 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.4682, allocations: 160.9 kB / 0.5758 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/0.4682, allocations: 12 kB / 0.5758 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/0.4683, allocations: 24 kB / 0.5758 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.373e-05/0.4683, allocations: 23.92 kB / 0.5759 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/0.4683, allocations: 11.94 kB / 0.5759 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.4705, allocations: 1.724 MB / 0.5776 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/0.4709, allocations: 202.4 kB / 0.5778 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.4711, allocations: 31.98 kB / 0.5778 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006349/0.4718, allocations: 39.91 kB / 0.5778 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.4719, allocations: 91.58 kB / 0.5779 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.089e-05/0.472, allocations: 44 kB / 0.578 GB, free: 9.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002362/0.4743, allocations: 1.478 MB / 0.5794 GB, free: 7.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4743, allocations: 0 / 0.5794 GB, free: 7.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003097/0.4774, allocations: 0.5041 MB / 0.5799 GB, free: 7.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (84): * Single equations (assignments): 78 * Array equations: 6 * 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.0004004/0.4778, allocations: 190.8 kB / 0.5801 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004785/0.4826, allocations: 2.684 MB / 0.5827 GB, free: 4.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.767e-05/0.4826, allocations: 0 / 0.5827 GB, free: 4.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007856/0.4834, allocations: 0.5007 MB / 0.5832 GB, free: 3.801 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.485, allocations: 204.8 kB / 0.5834 GB, free: 3.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009022/0.4941, allocations: 4.654 MB / 0.5879 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002664/0.4967, allocations: 1.918 MB / 0.5898 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004227/0.501, allocations: 1.415 MB / 0.5912 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000539/0.5015, allocations: 147.4 kB / 0.5913 GB, free: 11.28 MB / 430.1 MB Notification: Performance of SimCode: time 1.473e-06/0.5015, allocations: 0 / 0.5913 GB, free: 11.28 MB / 430.1 MB Notification: Performance of Templates: time 0.04749/0.549, allocations: 17.08 MB / 0.608 GB, free: 10.25 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.makefile [Timeout 660] (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.82892403844744] Failed to read output from testmodel.py, exit status != 0: 0.5572362504899502 0.5725827499999999 0.42706063099999997 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f871d9017b0>