Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.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.04503/0.04503, allocations: 9.225 MB / 311.9 MB, free: 1.871 MB / 238.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.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(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 63.91 kB / 434 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2461, allocations: 54.25 MB / 488.3 MB, free: 25.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.007943/0.2541, allocations: 8.537 MB / 496.8 MB, free: 19.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004899/0.259, allocations: 2.609 MB / 499.4 MB, free: 17.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.2601, allocations: 34.28 kB / 499.5 MB, free: 17.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007794/0.2609, allocations: 377.3 kB / 499.8 MB, free: 17.1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002575/0.2635, allocations: 1.309 MB / 0.4894 GB, free: 16.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.2638, allocations: 125.5 kB / 0.4895 GB, free: 16.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00229/0.2661, allocations: 2.44 MB / 0.4919 GB, free: 14.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008207/0.2669, allocations: 0.7193 MB / 0.4926 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.268, allocations: 0.8686 MB / 0.4934 GB, free: 13.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.2694, allocations: 1.378 MB / 0.4948 GB, free: 12.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003462/0.2697, allocations: 223.6 kB / 0.495 GB, free: 12.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.2709, allocations: 0.7702 MB / 0.4958 GB, free: 12.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007995/0.2717, allocations: 1.207 MB / 0.4969 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.2728, allocations: 1.521 MB / 0.4984 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004355/0.2771, allocations: 4.888 MB / 0.5032 GB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2771, allocations: 0 / 0.5032 GB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2771, allocations: 1.75 kB / 0.5032 GB, free: 7.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.715e-05/0.2772, allocations: 0 / 0.5032 GB, free: 7.332 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.01485/0.292, allocations: 4.896 MB / 0.508 GB, free: 4.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2921, allocations: 15.97 kB / 0.508 GB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007635/0.2929, allocations: 0.5263 MB / 0.5085 GB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005921/0.2988, allocations: 1.785 MB / 0.5103 GB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002976/0.3017, allocations: 1.4 MB / 0.5116 GB, free: 236 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.865e-05/0.3018, allocations: 143.6 kB / 0.5118 GB, free: 92 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000513/0.3023, allocations: 187.9 kB / 0.5119 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/0.3166, allocations: 8.159 MB / 0.5199 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.749e-05/0.3166, allocations: 19.83 kB / 0.5199 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003081/0.317, allocations: 91.88 kB / 0.52 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002986/0.3199, allocations: 1.84 MB / 0.5218 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.3356, allocations: 7.804 MB / 0.5294 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03963/0.3752, allocations: 24.71 MB / 0.5536 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008787/0.384, allocations: 2.574 MB / 0.5561 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.3855, allocations: 0.9377 MB / 0.557 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006824/0.3924, allocations: 4.353 MB / 0.5612 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.3924, allocations: 43.56 kB / 0.5613 GB, free: 11.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=142): time 2.955e-06/0.3924, allocations: 0 / 0.5613 GB, free: 11.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=167): time 0.01726/0.4096, allocations: 7.804 MB / 0.5689 GB, free: 4.059 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.4097, allocations: 68.72 kB / 0.569 GB, free: 3.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003749/0.4134, allocations: 2.531 MB / 0.5714 GB, free: 1.414 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.4136, allocations: 57.69 kB / 0.5715 GB, free: 1.352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001557/0.4151, allocations: 2.072 MB / 0.5735 GB, free: 15.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006082/0.4158, allocations: 0.6394 MB / 0.5741 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.4168, allocations: 0.7746 MB / 0.5749 GB, free: 13.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4169, allocations: 301.1 kB / 0.5752 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/0.419, allocations: 1.335 MB / 0.5765 GB, free: 12.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003832/0.4228, allocations: 3.391 MB / 0.5798 GB, free: 7.809 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006573/0.4294, allocations: 5.107 MB / 0.5848 GB, free: 1.711 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.944e-05/0.4295, allocations: 20 kB / 0.5848 GB, free: 1.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.009112/0.4386, allocations: 5.033 MB / 0.5897 GB, free: 12.65 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.015e-05/0.4386, allocations: 38.19 kB / 0.5898 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.159e-05/0.4387, allocations: 76.12 kB / 0.5898 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.4399, allocations: 434.7 kB / 0.5902 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/0.4424, allocations: 0.8383 MB / 0.5911 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007573/0.4499, allocations: 5.917 MB / 0.5968 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/0.4528, allocations: 195.9 kB / 0.597 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004177/0.4533, allocations: 224 kB / 0.5972 GB, free: 4.645 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 325 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (456): * Single equations (assignments): 450 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,56.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002581/0.4558, allocations: 1.536 MB / 0.5987 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003712/0.4562, allocations: 222.5 kB / 0.599 GB, free: 2.879 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004115/0.4603, allocations: 2.357 MB / 0.6013 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001069/0.4604, allocations: 27.98 kB / 0.6013 GB, free: 492 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.4604, allocations: 7.938 kB / 0.6013 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.4605, allocations: 7.969 kB / 0.6013 GB, free: 476 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.4715, allocations: 6.056 MB / 0.6072 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.4715, allocations: 4 kB / 0.6072 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000902/0.4724, allocations: 227.9 kB / 0.6074 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007789/0.4732, allocations: 284.7 kB / 0.6077 GB, free: 9.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-05/0.4732, allocations: 32 kB / 0.6077 GB, free: 9.738 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00534/0.4786, allocations: 4.691 MB / 0.6123 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4786, allocations: 4 kB / 0.6123 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005652/0.4842, allocations: 3.541 MB / 0.6158 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008679/0.4851, allocations: 307.6 kB / 0.6161 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003164/0.4854, allocations: 28 kB / 0.6161 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007905/0.4862, allocations: 55.94 kB / 0.6162 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.4864, allocations: 105.1 kB / 0.6163 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.4865, allocations: 47.98 kB / 0.6163 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.2088/0.6953, allocations: 1.637 MB / 0.6179 GB, free: 117.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6953, allocations: 0 / 0.6179 GB, free: 117.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003287/0.6986, allocations: 0.6921 MB / 0.6186 GB, free: 117.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * 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 (124): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,14,64.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005444/0.704, allocations: 4.184 MB / 0.6227 GB, free: 116.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00559/0.7096, allocations: 3.4 MB / 0.626 GB, free: 114.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.7096, allocations: 1.094 kB / 0.626 GB, free: 114.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001647/0.7113, allocations: 1.249 MB / 0.6272 GB, free: 114.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.7131, allocations: 385.8 kB / 0.6276 GB, free: 114.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03518/0.7483, allocations: 28.15 MB / 0.6551 GB, free: 97.38 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002045/0.7503, allocations: 2.553 MB / 0.6575 GB, free: 96.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002116/0.7524, allocations: 1.165 MB / 0.6587 GB, free: 95.49 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.7536, allocations: 1.27 MB / 0.6599 GB, free: 94.32 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/0.7536, allocations: 0 / 0.6599 GB, free: 94.32 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07831/0.8319, allocations: 49.26 MB / 0.708 GB, free: 45.53 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.8/17.64, allocations: 11.59 kB / 0.708 GB, free: 45.52 MB / 478.1 MB " [Timeout remaining time 642] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.095541247166693] Failed to read output from testmodel.py, exit status != 0: 17.747118348255754 17.75678883 17.477410986 Calling exit ...