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.001579/0.001579, 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.00154/0.00154, allocations: 212.3 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.801 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.04836/0.04836, allocations: 9.242 MB / 321.7 MB, free: 9.844 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.002233/0.002233, allocations: 75.88 kB / 447.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.113, allocations: 55.47 MB / 0.4913 GB, free: 7.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.01011/0.1231, allocations: 7.508 MB / 0.4987 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006429/0.1295, allocations: 2.511 MB / 0.5011 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.1312, allocations: 35.88 kB / 0.5012 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.1324, allocations: 369.5 kB / 0.5015 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003651/0.1361, allocations: 1.31 MB / 0.5028 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.1366, allocations: 119.8 kB / 0.5029 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003371/0.1399, allocations: 2.417 MB / 0.5053 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.1413, allocations: 0.6903 MB / 0.5059 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.1432, allocations: 0.891 MB / 0.5068 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/0.1457, allocations: 1.327 MB / 0.5081 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007791/0.1465, allocations: 224 kB / 0.5083 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.1483, allocations: 0.6631 MB / 0.509 GB, free: 4.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001708/0.15, allocations: 1.196 MB / 0.5101 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002019/0.152, allocations: 1.052 MB / 0.5112 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2216/0.3736, allocations: 4.858 MB / 0.5159 GB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3736, allocations: 3.062 kB / 0.5159 GB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3736, allocations: 0 / 0.5159 GB, free: 12.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000118/0.3737, allocations: 0 / 0.5159 GB, free: 12.16 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.01642/0.3902, allocations: 4.827 MB / 0.5206 GB, free: 10.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.3902, allocations: 13.92 kB / 0.5206 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009898/0.3912, allocations: 0.5233 MB / 0.5212 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006831/0.398, allocations: 1.787 MB / 0.5229 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00391/0.4019, allocations: 1.356 MB / 0.5242 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.4021, allocations: 143.1 kB / 0.5244 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000676/0.4028, allocations: 191.2 kB / 0.5245 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01507/0.4178, allocations: 8.154 MB / 0.5325 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.904e-05/0.4179, allocations: 22.17 kB / 0.5325 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003251/0.4183, allocations: 88.48 kB / 0.5326 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002936/0.4212, allocations: 1.832 MB / 0.5344 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01609/0.4373, allocations: 7.784 MB / 0.542 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03768/0.475, allocations: 23.28 MB / 0.5647 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008935/0.4839, allocations: 2.124 MB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.4856, allocations: 0.9393 MB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006079/0.4916, allocations: 2.581 MB / 0.5702 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.4917, allocations: 43.56 kB / 0.5703 GB, free: 11.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=142): time 4.439e-06/0.4917, allocations: 0 / 0.5703 GB, free: 11.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=167): time 0.0172/0.5089, allocations: 7.577 MB / 0.5777 GB, free: 4.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.5089, allocations: 68.28 kB / 0.5777 GB, free: 3.941 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/0.5128, allocations: 2.657 MB / 0.5803 GB, free: 1.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.513, allocations: 48.75 kB / 0.5804 GB, free: 1.199 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.5145, allocations: 2.074 MB / 0.5824 GB, free: 15.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006882/0.5152, allocations: 0.6447 MB / 0.583 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/0.5164, allocations: 0.7827 MB / 0.5838 GB, free: 13.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5165, allocations: 301.1 kB / 0.5841 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002281/0.5188, allocations: 1.331 MB / 0.5854 GB, free: 12.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003885/0.5226, allocations: 3.388 MB / 0.5887 GB, free: 7.727 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006943/0.5296, allocations: 5.1 MB / 0.5937 GB, free: 1.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.165e-05/0.5297, allocations: 20 kB / 0.5937 GB, free: 1.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01062/0.5403, allocations: 5.039 MB / 0.5986 GB, free: 13.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.361e-05/0.5403, allocations: 36.22 kB / 0.5987 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.085e-05/0.5404, allocations: 72 kB / 0.5987 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.5417, allocations: 439.8 kB / 0.5991 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/0.5445, allocations: 0.8305 MB / 0.6 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007583/0.5521, allocations: 5.671 MB / 0.6055 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/0.5549, allocations: 180 kB / 0.6057 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005257/0.5554, allocations: 230.8 kB / 0.6059 GB, free: 5.453 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.002827/0.5583, allocations: 1.55 MB / 0.6074 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004747/0.5587, allocations: 226.5 kB / 0.6076 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004344/0.5631, allocations: 2.342 MB / 0.6099 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001091/0.5632, allocations: 31.98 kB / 0.6099 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.5632, allocations: 4.844 kB / 0.6099 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/0.5632, allocations: 15.84 kB / 0.61 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.5755, allocations: 5.67 MB / 0.6155 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.5755, allocations: 4 kB / 0.6155 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009775/0.5765, allocations: 227.6 kB / 0.6157 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008544/0.5774, allocations: 282.1 kB / 0.616 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.5775, allocations: 34.58 kB / 0.616 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00547/0.583, allocations: 4.444 MB / 0.6204 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.583, allocations: 0 / 0.6204 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006023/0.589, allocations: 3.549 MB / 0.6238 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000825/0.5898, allocations: 226.5 kB / 0.624 GB, free: 2.516 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003259/0.5901, allocations: 31.98 kB / 0.6241 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008585/0.591, allocations: 64.5 kB / 0.6241 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/0.5912, allocations: 105 kB / 0.6242 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.5913, allocations: 50.8 kB / 0.6243 GB, free: 2.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002635/0.594, allocations: 1.642 MB / 0.6259 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.594, allocations: 0 / 0.6259 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00293/0.5969, allocations: 0.6758 MB / 0.6265 GB, free: 15.93 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.006114/0.603, allocations: 4.175 MB / 0.6306 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006317/0.6093, allocations: 3.396 MB / 0.6339 GB, free: 8.297 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.6093, allocations: 0 / 0.6339 GB, free: 8.297 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.6115, allocations: 1.255 MB / 0.6352 GB, free: 7.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.6136, allocations: 393.8 kB / 0.6355 GB, free: 6.648 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04781/0.6615, allocations: 28.21 MB / 0.6631 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003186/0.6646, allocations: 1.991 MB / 0.665 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002921/0.6676, allocations: 1.168 MB / 0.6662 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001917/0.6695, allocations: 1.261 MB / 0.6674 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of SimCode: time 1.153e-06/0.6695, allocations: 0 / 0.6674 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/0.7759, allocations: 49.91 MB / 0.7161 GB, free: 1.852 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.97, allocations: 6.984 kB / 0.7161 GB, free: 1.848 MB / 0.545 GB " [Timeout remaining time 645] (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: 17.908273812849075] Failed to read output from testmodel.py, exit status != 0: 15.11469349078834 15.332405757 14.955236635 Calling exit ...