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.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.001452/0.001452, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001604/0.001604, allocations: 216.6 kB / 22.25 MB, free: 5.207 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.588/1.588, allocations: 230.6 MB / 256 MB, free: 7.988 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.05292/0.05292, allocations: 9.235 MB / 321.7 MB, free: 10.04 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.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: 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.002169/0.002169, allocations: 65.78 kB / 447.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1213, allocations: 55.47 MB / 0.4914 GB, free: 7.484 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.01139/0.1327, allocations: 8.564 MB / 0.4998 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006184/0.1388, allocations: 2.655 MB / 0.5024 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.1401, allocations: 39.88 kB / 0.5024 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.1411, allocations: 369.5 kB / 0.5028 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00403/0.1452, allocations: 1.311 MB / 0.504 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.1458, allocations: 119.8 kB / 0.5042 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003596/0.1493, allocations: 2.413 MB / 0.5065 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.1507, allocations: 0.7098 MB / 0.5072 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.1523, allocations: 0.8833 MB / 0.5081 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/0.1545, allocations: 1.386 MB / 0.5094 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006027/0.1551, allocations: 220 kB / 0.5096 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.1568, allocations: 0.7801 MB / 0.5104 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00135/0.1581, allocations: 1.192 MB / 0.5116 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002/0.1601, allocations: 1.499 MB / 0.513 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2965/0.4567, allocations: 4.856 MB / 0.5178 GB, free: 12.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4567, allocations: 0 / 0.5178 GB, free: 12.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4567, allocations: 0 / 0.5178 GB, free: 12.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000188/0.4569, allocations: 1.188 kB / 0.5178 GB, free: 12.44 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.01907/0.4759, allocations: 4.833 MB / 0.5225 GB, free: 11.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.476, allocations: 12.33 kB / 0.5225 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001343/0.4773, allocations: 0.5216 MB / 0.523 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007553/0.4849, allocations: 1.793 MB / 0.5248 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004084/0.489, allocations: 1.342 MB / 0.5261 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.4891, allocations: 142.8 kB / 0.5262 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009871/0.4901, allocations: 189.6 kB / 0.5264 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/0.5092, allocations: 8.158 MB / 0.5344 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.5093, allocations: 17.31 kB / 0.5344 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005588/0.5099, allocations: 94.25 kB / 0.5345 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003743/0.5136, allocations: 1.833 MB / 0.5363 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01865/0.5323, allocations: 7.8 MB / 0.5439 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04425/0.5765, allocations: 24.63 MB / 0.5679 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009766/0.5863, allocations: 2.136 MB / 0.57 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.5881, allocations: 0.9392 MB / 0.5709 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007173/0.5953, allocations: 2.833 MB / 0.5737 GB, free: 8.922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.5953, allocations: 43.56 kB / 0.5737 GB, free: 8.871 MB / 414.1 MB Notification: Performance of pre-optimization done (n=142): time 4.218e-06/0.5953, allocations: 0 / 0.5737 GB, free: 8.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=167): time 0.0197/0.615, allocations: 7.582 MB / 0.5811 GB, free: 1.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.6152, allocations: 68.72 kB / 0.5812 GB, free: 1.219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004867/0.6201, allocations: 2.531 MB / 0.5837 GB, free: 14.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004191/0.6205, allocations: 56.66 kB / 0.5837 GB, free: 14.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001907/0.6224, allocations: 2.067 MB / 0.5857 GB, free: 12.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009035/0.6233, allocations: 0.6415 MB / 0.5864 GB, free: 11.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001413/0.6247, allocations: 0.7668 MB / 0.5871 GB, free: 11.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6248, allocations: 307.8 kB / 0.5874 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002567/0.6274, allocations: 1.335 MB / 0.5887 GB, free: 9.488 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00515/0.6325, allocations: 3.39 MB / 0.592 GB, free: 5.133 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008844/0.6414, allocations: 5.106 MB / 0.597 GB, free: 15.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.946e-05/0.6415, allocations: 20 kB / 0.597 GB, free: 15.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01148/0.6529, allocations: 5.035 MB / 0.602 GB, free: 10.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.39e-05/0.653, allocations: 36 kB / 0.602 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.268e-05/0.6531, allocations: 73.59 kB / 0.6021 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.6545, allocations: 444.1 kB / 0.6025 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003224/0.6578, allocations: 0.8344 MB / 0.6033 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008472/0.6662, allocations: 5.708 MB / 0.6089 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003404/0.6696, allocations: 188 kB / 0.6091 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004829/0.6701, allocations: 235.3 kB / 0.6093 GB, free: 2.852 MB / 446.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.003353/0.6735, allocations: 1.544 MB / 0.6108 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004897/0.674, allocations: 234.5 kB / 0.611 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004631/0.6786, allocations: 2.335 MB / 0.6133 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/0.6787, allocations: 28.55 kB / 0.6133 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.6787, allocations: 7.984 kB / 0.6133 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.6787, allocations: 7.922 kB / 0.6133 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/0.6913, allocations: 6.033 MB / 0.6192 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.6913, allocations: 4.031 kB / 0.6192 GB, free: 8.551 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.6924, allocations: 219.7 kB / 0.6194 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000838/0.6932, allocations: 296.3 kB / 0.6197 GB, free: 8.043 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.6933, allocations: 32.17 kB / 0.6197 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005915/0.6992, allocations: 4.481 MB / 0.6241 GB, free: 3.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6992, allocations: 7.938 kB / 0.6241 GB, free: 3.312 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006436/0.7057, allocations: 3.549 MB / 0.6276 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008671/0.7065, allocations: 226.5 kB / 0.6278 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003897/0.7069, allocations: 24 kB / 0.6278 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.708, allocations: 63.92 kB / 0.6279 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.7082, allocations: 101.1 kB / 0.628 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.7083, allocations: 55.05 kB / 0.628 GB, free: 15.26 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003023/0.7114, allocations: 1.642 MB / 0.6296 GB, free: 13.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7114, allocations: 0 / 0.6296 GB, free: 13.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003867/0.7152, allocations: 0.6835 MB / 0.6303 GB, free: 12.92 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.006704/0.7219, allocations: 4.176 MB / 0.6344 GB, free: 8.684 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007409/0.7293, allocations: 3.391 MB / 0.6377 GB, free: 5.289 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.7294, allocations: 0 / 0.6377 GB, free: 5.289 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002357/0.7317, allocations: 1.258 MB / 0.6389 GB, free: 4.008 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.7341, allocations: 393.5 kB / 0.6393 GB, free: 3.637 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05673/0.7909, allocations: 28.22 MB / 0.6669 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003514/0.7944, allocations: 2.551 MB / 0.6694 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003262/0.7976, allocations: 1.165 MB / 0.6705 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002251/0.7999, allocations: 1.281 MB / 0.6718 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of SimCode: time 1.623e-06/0.7999, allocations: 0 / 0.6718 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3984/1.198, allocations: 52.45 MB / 0.723 GB, free: 183.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.99/23.19, allocations: 13.47 kB / 0.723 GB, free: 183.4 MB / 0.545 GB " [Timeout remaining time 637] (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 & python3 -m fmpy simulate --output-file PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.28267772399704] Failed to read output from testmodel.py, exit status != 0: 23.34295031199872 23.370145782 22.909043835 Calling exit ...