Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.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.001362/0.001362, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001608/0.001608, allocations: 213.5 kB / 22.25 MB, free: 4.859 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.05072/0.05072, allocations: 9.25 MB / 321.7 MB, free: 9.848 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/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(PlanarMechanics.VehicleComponents.Examples.TestAirDrag,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestAirDrag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestAirDrag,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestAirDrag",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 64.19 kB / 447.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1095, allocations: 55.47 MB / 0.4913 GB, free: 7.043 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.009991/0.1195, allocations: 7.24 MB / 0.4984 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005927/0.1255, allocations: 2.577 MB / 0.5009 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.1266, allocations: 35.88 kB / 0.501 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.1277, allocations: 373.5 kB / 0.5013 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.1311, allocations: 1.251 MB / 0.5025 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006706/0.1318, allocations: 263.6 kB / 0.5028 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003255/0.135, allocations: 2.414 MB / 0.5052 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.1365, allocations: 0.8851 MB / 0.506 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.138, allocations: 0.899 MB / 0.5069 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002397/0.1404, allocations: 1.374 MB / 0.5082 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000729/0.1412, allocations: 248 kB / 0.5085 GB, free: 5.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.143, allocations: 0.6826 MB / 0.5091 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001472/0.1444, allocations: 1.211 MB / 0.5103 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002066/0.1465, allocations: 1.087 MB / 0.5114 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2019/0.3484, allocations: 4.932 MB / 0.5162 GB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3484, allocations: 0 / 0.5162 GB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3484, allocations: 0.5312 kB / 0.5162 GB, free: 12.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000109/0.3485, allocations: 1.312 kB / 0.5162 GB, free: 12.46 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.007094/0.3556, allocations: 3.625 MB / 0.5197 GB, free: 11.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3556, allocations: 7.984 kB / 0.5197 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000609/0.3562, allocations: 0.5166 MB / 0.5203 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006558/0.3628, allocations: 1.774 MB / 0.522 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/0.3659, allocations: 1.285 MB / 0.5232 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.366, allocations: 150.6 kB / 0.5234 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007519/0.3668, allocations: 200.7 kB / 0.5236 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/0.3802, allocations: 7.569 MB / 0.531 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-05/0.3803, allocations: 22.67 kB / 0.531 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003703/0.3806, allocations: 89.98 kB / 0.5311 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003247/0.3839, allocations: 1.704 MB / 0.5327 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/0.3979, allocations: 6.83 MB / 0.5394 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03151/0.4294, allocations: 21.54 MB / 0.5604 GB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003517/0.4329, allocations: 1.544 MB / 0.562 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.4341, allocations: 0.6869 MB / 0.5626 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005499/0.4396, allocations: 2.436 MB / 0.565 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.4396, allocations: 43.12 kB / 0.565 GB, free: 1.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=113): time 3.907e-06/0.4396, allocations: 2.156 kB / 0.565 GB, free: 1.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=127): time 0.008386/0.448, allocations: 3.99 MB / 0.5689 GB, free: 13.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.4481, allocations: 67.39 kB / 0.569 GB, free: 13.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003978/0.452, allocations: 2.559 MB / 0.5715 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002016/0.4522, allocations: 41.7 kB / 0.5715 GB, free: 10.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/0.454, allocations: 2.091 MB / 0.5736 GB, free: 8.473 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006713/0.4546, allocations: 0.4949 MB / 0.5741 GB, free: 7.984 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.4557, allocations: 0.7281 MB / 0.5748 GB, free: 7.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4558, allocations: 301.1 kB / 0.5751 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002151/0.458, allocations: 1.198 MB / 0.5762 GB, free: 5.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003935/0.4619, allocations: 3.245 MB / 0.5794 GB, free: 1.539 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008374/0.4703, allocations: 5.308 MB / 0.5846 GB, free: 11.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-05/0.4703, allocations: 20 kB / 0.5846 GB, free: 11.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.00828/0.4786, allocations: 4.505 MB / 0.589 GB, free: 7.262 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.4787, allocations: 36 kB / 0.589 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.167e-05/0.4788, allocations: 75.39 kB / 0.5891 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/0.4793, allocations: 233.5 kB / 0.5893 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/0.4818, allocations: 0.7997 MB / 0.5901 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.4854, allocations: 2.77 MB / 0.5928 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.4879, allocations: 193 kB / 0.593 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004562/0.4883, allocations: 218.8 kB / 0.5932 GB, free: 2.852 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: revolute.w:VARIABLE(start = -5.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.always ) \"Angular velocity\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 328 * Number of states: 0 () * Number of discrete variables: 9 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (431): * Single equations (assignments): 426 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00266/0.491, allocations: 1.495 MB / 0.5947 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003937/0.4914, allocations: 211 kB / 0.5949 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/0.4947, allocations: 1.765 MB / 0.5966 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001031/0.4948, allocations: 23.98 kB / 0.5966 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.4948, allocations: 3.984 kB / 0.5966 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.4948, allocations: 7.984 kB / 0.5966 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009489/0.5043, allocations: 4.791 MB / 0.6013 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.5043, allocations: 9.75 kB / 0.6013 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008012/0.5051, allocations: 171.7 kB / 0.6015 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000388/0.5055, allocations: 116.8 kB / 0.6016 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-05/0.5056, allocations: 27.27 kB / 0.6016 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002863/0.5084, allocations: 2.294 MB / 0.6039 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.5084, allocations: 7.969 kB / 0.6039 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00443/0.5129, allocations: 2.739 MB / 0.6066 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009286/0.5138, allocations: 346.5 kB / 0.6069 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/0.514, allocations: 24.72 kB / 0.6069 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000756/0.5148, allocations: 59.81 kB / 0.607 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.515, allocations: 72.8 kB / 0.607 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.535e-05/0.5151, allocations: 42.64 kB / 0.6071 GB, free: 4.414 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00281/0.5179, allocations: 1.57 MB / 0.6086 GB, free: 2.824 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5179, allocations: 0 / 0.6086 GB, free: 2.824 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002825/0.5207, allocations: 0.6093 MB / 0.6092 GB, free: 2.215 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (revolute.phi,revolute.w) * 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 (94): * Single equations (assignments): 89 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004993/0.5257, allocations: 3.371 MB / 0.6125 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005127/0.5308, allocations: 2.781 MB / 0.6152 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.5308, allocations: 4 kB / 0.6152 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.5322, allocations: 0.8325 MB / 0.616 GB, free: 11.17 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.5344, allocations: 389.9 kB / 0.6164 GB, free: 10.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04413/0.5785, allocations: 25.6 MB / 0.6414 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003682/0.5822, allocations: 1.89 MB / 0.6432 GB, free: 12.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003081/0.5853, allocations: 1.085 MB / 0.6443 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/0.5873, allocations: 1.21 MB / 0.6455 GB, free: 10.36 MB / 494.1 MB Notification: Performance of SimCode: time 1.683e-06/0.5873, allocations: 0 / 0.6455 GB, free: 10.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/0.7043, allocations: 43.31 MB / 0.6878 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.43, allocations: 10.5 kB / 0.6878 GB, free: 15.49 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestAirDrag_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestAirDrag.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.093643417116255] Failed to read output from testmodel.py, exit status != 0: 14.569506096187979 14.586096799 14.234154704 Calling exit ...