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 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.001601/0.001601, allocations: 103.6 kB / 18.95 MB, free: 2.688 MB / 14.72 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.001899/0.001899, allocations: 216.6 kB / 22.24 MB, free: 5.242 MB / 14.72 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 1.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.793 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.04946/0.04946, allocations: 8.106 MB / 320.5 MB, free: 11.14 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 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: "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002582/0.002582, allocations: 59.91 kB / 446.1 MB, free: 1.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1367, allocations: 55.23 MB / 0.4896 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.009216/0.1459, allocations: 5.005 MB / 0.4945 GB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004823/0.1507, allocations: 1.869 MB / 0.4963 GB, free: 3.344 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008688/0.1516, allocations: 23.94 kB / 0.4963 GB, free: 3.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.1528, allocations: 422.1 kB / 0.4967 GB, free: 2.906 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.1547, allocations: 0.7152 MB / 0.4974 GB, free: 2.191 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.155, allocations: 95.7 kB / 0.4975 GB, free: 2.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002064/0.1571, allocations: 1.511 MB / 0.499 GB, free: 0.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005549/0.1576, allocations: 365.8 kB / 0.4993 GB, free: 216 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006969/0.1583, allocations: 0.4902 MB / 0.4998 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.1595, allocations: 0.786 MB / 0.5006 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.1597, allocations: 80 kB / 0.5006 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006768/0.1603, allocations: 295.5 kB / 0.5009 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006953/0.161, allocations: 0.7125 MB / 0.5016 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006866/0.1617, allocations: 0.5931 MB / 0.5022 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003274/0.165, allocations: 2.757 MB / 0.5049 GB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.165, allocations: 4 kB / 0.5049 GB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.165, allocations: 0 / 0.5049 GB, free: 10.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.516e-05/0.165, allocations: 0 / 0.5049 GB, free: 10.48 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.003705/0.1687, allocations: 2.088 MB / 0.5069 GB, free: 8.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.1688, allocations: 8.031 kB / 0.5069 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004667/0.1693, allocations: 381.5 kB / 0.5073 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004893/0.1741, allocations: 1.493 MB / 0.5088 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.1761, allocations: 0.8178 MB / 0.5096 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.093e-05/0.1762, allocations: 78.03 kB / 0.5096 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006889/0.1769, allocations: 251.8 kB / 0.5099 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.282/0.4589, allocations: 5.038 MB / 0.5148 GB, free: 24.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.087e-05/0.459, allocations: 29.91 kB / 0.5148 GB, free: 24.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/0.4592, allocations: 67.78 kB / 0.5149 GB, free: 24.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001698/0.4609, allocations: 1.151 MB / 0.516 GB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007651/0.4686, allocations: 4.284 MB / 0.5202 GB, free: 24.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02145/0.49, allocations: 19.91 MB / 0.5396 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.4918, allocations: 0.8379 MB / 0.5405 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/0.4924, allocations: 405.5 kB / 0.5408 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.4924, allocations: 7.531 kB / 0.5409 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.4924, allocations: 43.09 kB / 0.5409 GB, free: 9.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.015e-06/0.4924, allocations: 1.312 kB / 0.5409 GB, free: 9.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.006777/0.4992, allocations: 4.014 MB / 0.5448 GB, free: 7.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.4993, allocations: 141.5 kB / 0.5449 GB, free: 7.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003543/0.5028, allocations: 2.557 MB / 0.5474 GB, free: 6.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.023e-05/0.5029, allocations: 38.23 kB / 0.5475 GB, free: 5.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001168/0.5041, allocations: 1.833 MB / 0.5493 GB, free: 4.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/0.5045, allocations: 472.3 kB / 0.5497 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/0.5055, allocations: 0.8285 MB / 0.5505 GB, free: 3.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5057, allocations: 357.6 kB / 0.5509 GB, free: 3.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002087/0.5078, allocations: 1.278 MB / 0.5521 GB, free: 3.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003394/0.5112, allocations: 3.912 MB / 0.5559 GB, free: 15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007022/0.5182, allocations: 5.651 MB / 0.5615 GB, free: 9.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.892e-05/0.5183, allocations: 28 kB / 0.5615 GB, free: 9.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.009411/0.5277, allocations: 4.968 MB / 0.5663 GB, free: 4.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.276e-05/0.5278, allocations: 51.94 kB / 0.5664 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001112/0.5289, allocations: 0.7651 MB / 0.5671 GB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/0.529, allocations: 124.8 kB / 0.5673 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/0.5318, allocations: 0.9429 MB / 0.5682 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001813/0.532, allocations: 191.2 kB / 0.5684 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/0.5346, allocations: 211.7 kB / 0.5686 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003747/0.535, allocations: 257.9 kB / 0.5688 GB, free: 1.746 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.001846/0.5368, allocations: 1.197 MB / 0.57 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004702/0.5373, allocations: 210.5 kB / 0.5702 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.5377, allocations: 270.9 kB / 0.5704 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001061/0.5388, allocations: 0.7061 MB / 0.5711 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.5388, allocations: 7.938 kB / 0.5711 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.5388, allocations: 3.984 kB / 0.5711 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005684/0.5445, allocations: 3.06 MB / 0.5741 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.503e-05/0.5445, allocations: 8 kB / 0.5741 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/0.545, allocations: 157.8 kB / 0.5743 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-05/0.5451, allocations: 16 kB / 0.5743 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/0.5451, allocations: 35.98 kB / 0.5743 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/0.5451, allocations: 15.94 kB / 0.5743 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.779e-05/0.5452, allocations: 15.94 kB / 0.5744 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.5474, allocations: 1.715 MB / 0.576 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000483/0.5479, allocations: 210.4 kB / 0.5762 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.5481, allocations: 24 kB / 0.5763 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/0.5487, allocations: 47.95 kB / 0.5763 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.5488, allocations: 87.16 kB / 0.5764 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/0.5489, allocations: 47.94 kB / 0.5764 GB, free: 9.641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002178/0.5511, allocations: 1.474 MB / 0.5779 GB, free: 8.148 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5511, allocations: 384 / 0.5779 GB, free: 8.148 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003064/0.5541, allocations: 0.5038 MB / 0.5784 GB, free: 7.645 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.002672/0.5568, allocations: 2.389 MB / 0.5807 GB, free: 5.109 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00463/0.5614, allocations: 2.674 MB / 0.5833 GB, free: 2.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/0.5615, allocations: 0 / 0.5833 GB, free: 2.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007462/0.5622, allocations: 0.494 MB / 0.5838 GB, free: 1.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.5638, allocations: 207.8 kB / 0.584 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04091/0.6047, allocations: 25.7 MB / 0.6091 GB, free: 4.477 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.6067, allocations: 1.337 MB / 0.6104 GB, free: 3.105 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003192/0.6099, allocations: 1.416 MB / 0.6118 GB, free: 1.688 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/0.6112, allocations: 0.8429 MB / 0.6126 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of SimCode: time 1.452e-06/0.6112, allocations: 4 kB / 0.6126 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07964/0.6909, allocations: 31.61 MB / 0.6435 GB, free: 1.676 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.1, allocations: 9.297 kB / 0.6435 GB, free: 1.668 MB / 478.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.999437750782818] Failed to read output from testmodel.py, exit status != 0: 13.229325379710644 13.243227188 13.075152528 Calling exit ...