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.001564/0.001564, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001772/0.001772, allocations: 218 kB / 22.25 MB, free: 5.121 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.98 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.05066/0.05066, allocations: 9.249 MB / 321.7 MB, free: 10.02 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.001966/0.001966, allocations: 67.89 kB / 447.7 MB, free: 15.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.1007, allocations: 55.46 MB / 0.4914 GB, free: 7.473 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.01026/0.1109, allocations: 8.572 MB / 0.4998 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005262/0.1162, allocations: 2.659 MB / 0.5024 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009567/0.1171, allocations: 39.88 kB / 0.5024 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009386/0.1181, allocations: 365.5 kB / 0.5028 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.1214, allocations: 1.315 MB / 0.5041 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.1219, allocations: 119.8 kB / 0.5042 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003184/0.1251, allocations: 2.419 MB / 0.5065 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.1263, allocations: 0.6982 MB / 0.5072 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.1276, allocations: 0.8872 MB / 0.5081 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.1296, allocations: 1.382 MB / 0.5094 GB, free: 4.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005642/0.1302, allocations: 224 kB / 0.5096 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.1314, allocations: 0.784 MB / 0.5104 GB, free: 3.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.1326, allocations: 1.192 MB / 0.5116 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001564/0.1342, allocations: 1.499 MB / 0.513 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1955/0.3297, allocations: 4.851 MB / 0.5178 GB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3297, allocations: 0.75 kB / 0.5178 GB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3297, allocations: 3.625 kB / 0.5178 GB, free: 12.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.086e-05/0.3298, allocations: 0 / 0.5178 GB, free: 12.43 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.01476/0.3445, allocations: 4.831 MB / 0.5225 GB, free: 11.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3446, allocations: 9.938 kB / 0.5225 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006461/0.3452, allocations: 0.5214 MB / 0.523 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006442/0.3517, allocations: 1.793 MB / 0.5248 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/0.3543, allocations: 1.346 MB / 0.5261 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-05/0.3543, allocations: 138.5 kB / 0.5262 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003587/0.3547, allocations: 196.1 kB / 0.5264 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01269/0.3674, allocations: 8.152 MB / 0.5344 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.908e-05/0.3675, allocations: 18.53 kB / 0.5344 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002983/0.3678, allocations: 87.53 kB / 0.5345 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002844/0.3706, allocations: 1.835 MB / 0.5362 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/0.3843, allocations: 7.804 MB / 0.5439 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03391/0.4182, allocations: 24.64 MB / 0.5679 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008448/0.4267, allocations: 2.135 MB / 0.57 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.4283, allocations: 0.9377 MB / 0.5709 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005845/0.4341, allocations: 2.829 MB / 0.5737 GB, free: 8.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.4342, allocations: 43.56 kB / 0.5737 GB, free: 8.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=142): time 3.898e-06/0.4342, allocations: 1.875 kB / 0.5737 GB, free: 8.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=167): time 0.01716/0.4513, allocations: 7.585 MB / 0.5811 GB, free: 1.238 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.4514, allocations: 64.72 kB / 0.5812 GB, free: 1.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00385/0.4553, allocations: 2.539 MB / 0.5837 GB, free: 14.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.886e-05/0.4553, allocations: 45.7 kB / 0.5837 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001621/0.457, allocations: 2.069 MB / 0.5857 GB, free: 12.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005347/0.4575, allocations: 0.6406 MB / 0.5864 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/0.4588, allocations: 0.7784 MB / 0.5871 GB, free: 11.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4589, allocations: 305.1 kB / 0.5874 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/0.4612, allocations: 1.335 MB / 0.5887 GB, free: 9.422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003895/0.4651, allocations: 3.386 MB / 0.592 GB, free: 5.074 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006353/0.4715, allocations: 5.101 MB / 0.597 GB, free: 15.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.099e-05/0.4715, allocations: 22.06 kB / 0.597 GB, free: 15.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.008622/0.4801, allocations: 5.041 MB / 0.602 GB, free: 10.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/0.4802, allocations: 36.06 kB / 0.602 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.1e-05/0.4802, allocations: 75.98 kB / 0.6021 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.4814, allocations: 435.8 kB / 0.6025 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/0.4839, allocations: 0.8313 MB / 0.6033 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007437/0.4913, allocations: 5.716 MB / 0.6089 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.4937, allocations: 192 kB / 0.6091 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003149/0.494, allocations: 231 kB / 0.6093 GB, free: 2.828 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.002548/0.4966, allocations: 1.534 MB / 0.6108 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.4969, allocations: 230.5 kB / 0.611 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/0.5011, allocations: 2.35 MB / 0.6133 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.851e-05/0.5012, allocations: 33.77 kB / 0.6133 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.5012, allocations: 4 kB / 0.6133 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.5012, allocations: 15.91 kB / 0.6133 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.5119, allocations: 6.022 MB / 0.6192 GB, free: 8.531 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/0.5119, allocations: 4 kB / 0.6192 GB, free: 8.527 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008958/0.5128, allocations: 224 kB / 0.6194 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000831/0.5136, allocations: 292.6 kB / 0.6197 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.258e-05/0.5137, allocations: 32 kB / 0.6198 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005459/0.5191, allocations: 4.478 MB / 0.6241 GB, free: 3.297 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5192, allocations: 3.938 kB / 0.6241 GB, free: 3.293 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005618/0.5248, allocations: 3.542 MB / 0.6276 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005015/0.5253, allocations: 230.5 kB / 0.6278 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/0.5255, allocations: 28 kB / 0.6278 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000887/0.5264, allocations: 63.94 kB / 0.6279 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.5266, allocations: 101 kB / 0.628 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.653e-05/0.5267, allocations: 49.06 kB / 0.628 GB, free: 15.24 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002797/0.5295, allocations: 1.642 MB / 0.6296 GB, free: 13.58 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5295, allocations: 0 / 0.6296 GB, free: 13.58 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002789/0.5323, allocations: 0.6828 MB / 0.6303 GB, free: 12.9 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.00624/0.5385, allocations: 4.18 MB / 0.6344 GB, free: 8.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005824/0.5443, allocations: 3.395 MB / 0.6377 GB, free: 5.266 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/0.5444, allocations: 4 kB / 0.6377 GB, free: 5.262 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.5464, allocations: 1.261 MB / 0.6389 GB, free: 3.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.5481, allocations: 380.7 kB / 0.6393 GB, free: 3.617 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04262/0.5907, allocations: 28.22 MB / 0.6669 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003125/0.5938, allocations: 2.546 MB / 0.6694 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002786/0.5966, allocations: 1.168 MB / 0.6705 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001902/0.5985, allocations: 1.271 MB / 0.6717 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of SimCode: time 8.81e-07/0.5985, allocations: 0 / 0.6717 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3056/0.9041, allocations: 52.46 MB / 0.723 GB, free: 183.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.57/19.47, allocations: 4.656 kB / 0.723 GB, free: 183.6 MB / 0.545 GB " [Timeout remaining time 640] (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: 22.084895769134164] Failed to read output from testmodel.py, exit status != 0: 19.609884507022798 19.624195653 19.291701704 Calling exit ...