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.001787/0.001787, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001968/0.001968, allocations: 215 kB / 20.13 MB, free: 2.949 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.605/1.605, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.05243/0.05243, allocations: 9.226 MB / 318.8 MB, free: 15.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",fmuType="cs",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.002398/0.002398, allocations: 70.08 kB / 443.2 MB, free: 39.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1096, allocations: 55.43 MB / 498.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.009212/0.1188, allocations: 8.528 MB / 0.4953 GB, free: 14.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007039/0.1258, allocations: 2.647 MB / 0.4979 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.1278, allocations: 39.81 kB / 0.4979 GB, free: 11.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.129, allocations: 373.5 kB / 0.4983 GB, free: 10.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004611/0.1336, allocations: 1.307 MB / 0.4996 GB, free: 9.656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007424/0.1344, allocations: 111.9 kB / 0.4997 GB, free: 9.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004374/0.1387, allocations: 2.424 MB / 0.502 GB, free: 7.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.1405, allocations: 0.7134 MB / 0.5027 GB, free: 6.375 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002193/0.1427, allocations: 0.891 MB / 0.5036 GB, free: 5.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002905/0.1456, allocations: 1.378 MB / 0.505 GB, free: 4.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00101/0.1466, allocations: 224 kB / 0.5052 GB, free: 3.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.149, allocations: 0.7801 MB / 0.5059 GB, free: 3.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002114/0.1511, allocations: 1.188 MB / 0.5071 GB, free: 1.906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003412/0.1545, allocations: 1.507 MB / 0.5086 GB, free: 400 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007575/0.1621, allocations: 4.852 MB / 0.5133 GB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1621, allocations: 0 / 0.5133 GB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.03e-06/0.1621, allocations: 4 kB / 0.5133 GB, free: 11.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001571/0.1623, allocations: 0 / 0.5133 GB, free: 11.51 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.01832/0.1806, allocations: 4.912 MB / 0.5181 GB, free: 6.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.1806, allocations: 8.031 kB / 0.5181 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001074/0.1808, allocations: 71.8 kB / 0.5182 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009447/0.1817, allocations: 0.5224 MB / 0.5187 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00737/0.1891, allocations: 1.793 MB / 0.5204 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/0.1927, allocations: 1.396 MB / 0.5218 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.1928, allocations: 143.4 kB / 0.5219 GB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005465/0.1934, allocations: 191.8 kB / 0.5221 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01651/0.2099, allocations: 8.155 MB / 0.5301 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.478e-05/0.21, allocations: 19.81 kB / 0.5301 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003239/0.2103, allocations: 91.88 kB / 0.5302 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003533/0.2138, allocations: 1.832 MB / 0.532 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/0.2316, allocations: 7.804 MB / 0.5396 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04587/0.2775, allocations: 24.72 MB / 0.5637 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/0.2877, allocations: 2.576 MB / 0.5663 GB, free: 4.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002032/0.2897, allocations: 0.9409 MB / 0.5672 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007574/0.2973, allocations: 4.343 MB / 0.5714 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.2973, allocations: 47.56 kB / 0.5715 GB, free: 14.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=142): time 5.36e-06/0.2973, allocations: 3.938 kB / 0.5715 GB, free: 14.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=167): time 0.01893/0.3163, allocations: 7.797 MB / 0.5791 GB, free: 6.523 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.3163, allocations: 72.72 kB / 0.5791 GB, free: 6.441 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00438/0.3207, allocations: 2.535 MB / 0.5816 GB, free: 3.871 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003024/0.321, allocations: 45.7 kB / 0.5817 GB, free: 3.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00172/0.3227, allocations: 2.079 MB / 0.5837 GB, free: 1.719 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008082/0.3235, allocations: 0.6316 MB / 0.5843 GB, free: 1.082 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/0.3247, allocations: 0.7746 MB / 0.5851 GB, free: 308 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3249, allocations: 301.1 kB / 0.5854 GB, free: 4 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2482/0.5731, allocations: 1.335 MB / 0.5867 GB, free: 88.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002677/0.5758, allocations: 3.388 MB / 0.59 GB, free: 86.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004668/0.5805, allocations: 5.104 MB / 0.595 GB, free: 82.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.091e-05/0.5805, allocations: 22 kB / 0.595 GB, free: 82.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.008778/0.5893, allocations: 5.026 MB / 0.5999 GB, free: 80.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/0.5893, allocations: 37.44 kB / 0.5999 GB, free: 80.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/0.5895, allocations: 71.25 kB / 0.6 GB, free: 80.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.591, allocations: 449.7 kB / 0.6004 GB, free: 80.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/0.5938, allocations: 0.8346 MB / 0.6012 GB, free: 80.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006004/0.5998, allocations: 5.915 MB / 0.607 GB, free: 76.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/0.6027, allocations: 187.5 kB / 0.6072 GB, free: 76.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004173/0.6031, allocations: 233.3 kB / 0.6074 GB, free: 76.05 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.002471/0.6056, allocations: 1.531 MB / 0.6089 GB, free: 75.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004453/0.606, allocations: 234.4 kB / 0.6091 GB, free: 75.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/0.6098, allocations: 2.346 MB / 0.6114 GB, free: 74.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.579e-05/0.6099, allocations: 34.12 kB / 0.6114 GB, free: 74.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.6099, allocations: 5 kB / 0.6115 GB, free: 74.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.6099, allocations: 4.797 kB / 0.6115 GB, free: 74.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008864/0.6187, allocations: 6.069 MB / 0.6174 GB, free: 68.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.6188, allocations: 4 kB / 0.6174 GB, free: 68.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00086/0.6196, allocations: 219.7 kB / 0.6176 GB, free: 68.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007338/0.6203, allocations: 292.8 kB / 0.6179 GB, free: 68.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.304e-05/0.6204, allocations: 31.98 kB / 0.6179 GB, free: 68.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/0.6243, allocations: 4.678 MB / 0.6225 GB, free: 63.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6243, allocations: 4 kB / 0.6225 GB, free: 63.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004307/0.6286, allocations: 3.555 MB / 0.626 GB, free: 59.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005988/0.6292, allocations: 311.7 kB / 0.6262 GB, free: 59.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/0.6295, allocations: 28 kB / 0.6263 GB, free: 59.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/0.6303, allocations: 55.94 kB / 0.6263 GB, free: 59.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.6305, allocations: 101.1 kB / 0.6264 GB, free: 59.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.983e-05/0.6306, allocations: 49.75 kB / 0.6265 GB, free: 59.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001962/0.6325, allocations: 1.638 MB / 0.6281 GB, free: 57.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6325, allocations: 3.938 kB / 0.6281 GB, free: 57.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003026/0.6356, allocations: 0.6794 MB / 0.6287 GB, free: 57.09 MB / 446.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.004334/0.6399, allocations: 4.182 MB / 0.6328 GB, free: 52.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005051/0.6449, allocations: 3.396 MB / 0.6361 GB, free: 49.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6449, allocations: 0 / 0.6361 GB, free: 49.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.6465, allocations: 1.257 MB / 0.6374 GB, free: 48.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.6484, allocations: 384 kB / 0.6377 GB, free: 47.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03127/0.6797, allocations: 28.16 MB / 0.6652 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001899/0.6816, allocations: 2.55 MB / 0.6677 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002153/0.6838, allocations: 1.165 MB / 0.6689 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/0.685, allocations: 1.269 MB / 0.6701 GB, free: 11.97 MB / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/0.685, allocations: 4 kB / 0.6701 GB, free: 11.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/0.7979, allocations: 49.24 MB / 0.7182 GB, free: 10.95 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.23/18.02, allocations: 4 kB / 0.7182 GB, free: 10.94 MB / 494.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: 21.21467123896582] Failed to read output from testmodel.py, exit status != 0: 18.199109006032813 18.22607573 18.0581321 Calling exit ...