Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.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.0008359/0.0008359, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008196/0.0008196, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.873/0.873, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.02687/0.02687, allocations: 7.109 MB / 266.3 MB, free: 6.316 MB / 250.7 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.SingleTrackWithEngine,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_SingleTrackWithEngine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_SingleTrackWithEngine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 392.4 MB, free: 3.992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.642e-05, allocations: 2.281 kB / 392.4 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.007975/0.008002, allocations: 8.837 MB / 401.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003852/0.01185, allocations: 2.803 MB / 404 MB, free: 8.293 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006/0.01245, allocations: 43.88 kB / 404.1 MB, free: 8.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006457/0.0131, allocations: 440.9 kB / 404.5 MB, free: 7.816 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.0152, allocations: 1.707 MB / 406.2 MB, free: 6.102 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.01549, allocations: 175.6 kB / 406.4 MB, free: 5.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002073/0.01756, allocations: 3.007 MB / 409.4 MB, free: 2.914 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008001/0.01836, allocations: 0.8829 MB / 410.3 MB, free: 2.012 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.01986, allocations: 1.64 MB / 411.9 MB, free: 376 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1599/0.1798, allocations: 1.567 MB / 413.5 MB, free: 16.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007391/0.1805, allocations: 266.4 kB / 413.7 MB, free: 16.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.182, allocations: 0.8629 MB / 414.6 MB, free: 16.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.1832, allocations: 1.543 MB / 416.1 MB, free: 16.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.1844, allocations: 0.9872 MB / 417.1 MB, free: 16.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006573/0.191, allocations: 5.749 MB / 422.9 MB, free: 16.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/0.191, allocations: 8.016 kB / 422.9 MB, free: 16.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.191, allocations: 0 / 422.9 MB, free: 16.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002263/0.1912, allocations: 0 / 422.9 MB, free: 16.24 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.02067/0.2119, allocations: 7.077 MB / 430 MB, free: 13.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.2119, allocations: 10.28 kB / 430 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001707/0.2136, allocations: 0.6401 MB / 430.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004283/0.2179, allocations: 1.992 MB / 432.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003221/0.2212, allocations: 1.643 MB / 434.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.2213, allocations: 184 kB / 434.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009088/0.2222, allocations: 243.8 kB / 434.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.2367, allocations: 10.4 MB / 445.1 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.2368, allocations: 39.78 kB / 445.1 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004622/0.2373, allocations: 124.3 kB / 445.2 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002045/0.2393, allocations: 2.149 MB / 447.4 MB, free: 1.223 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.2569, allocations: 10.28 MB / 457.7 MB, free: 7.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04171/0.2986, allocations: 31.87 MB / 489.5 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009965/0.3085, allocations: 3.969 MB / 493.5 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.3105, allocations: 1.572 MB / 495.1 MB, free: 1.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007889/0.3184, allocations: 5.263 MB / 0.4886 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.3184, allocations: 52.56 kB / 0.4887 GB, free: 12.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=232): time 5.661e-06/0.3184, allocations: 0 / 0.4887 GB, free: 12.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=272): time 0.02133/0.3398, allocations: 13.25 MB / 0.5016 GB, free: 14.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003137/0.3429, allocations: 3.391 MB / 0.5049 GB, free: 11.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/0.3465, allocations: 3.211 MB / 0.508 GB, free: 8.141 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003937/0.3469, allocations: 63.66 kB / 0.5081 GB, free: 8.074 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.3481, allocations: 2.497 MB / 0.5105 GB, free: 5.586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001078/0.3492, allocations: 1.008 MB / 0.5115 GB, free: 4.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.3503, allocations: 1.066 MB / 0.5126 GB, free: 3.516 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.3503, allocations: 305.1 kB / 0.5129 GB, free: 3.215 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002354/0.3527, allocations: 1.881 MB / 0.5147 GB, free: 1.328 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004117/0.3568, allocations: 4.635 MB / 0.5192 GB, free: 11.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007181/0.364, allocations: 7.087 MB / 0.5261 GB, free: 2.984 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-05/0.3641, allocations: 24 kB / 0.5262 GB, free: 2.961 MB / 426.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01137/0.3754, allocations: 6.968 MB / 0.533 GB, free: 11.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.827e-05/0.3755, allocations: 48 kB / 0.533 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-05/0.3756, allocations: 96 kB / 0.5331 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008777/0.3765, allocations: 0.5369 MB / 0.5336 GB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/0.3793, allocations: 1.221 MB / 0.5348 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00628/0.3856, allocations: 7.098 MB / 0.5418 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003463/0.3891, allocations: 283.9 kB / 0.542 GB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/0.3901, allocations: 315.1 kB / 0.5423 GB, free: 2.172 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 432 * Number of states: 0 () * Number of discrete variables: 15 (trail.color[3],trail.color[2],trail.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],chassis.color[3],chassis.color[2],chassis.color[1],bodyRear.sphereColor[3],bodyRear.sphereColor[2],bodyRear.sphereColor[1],bodyFront.sphereColor[3],bodyFront.sphereColor[2],bodyFront.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 650 * 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 {(6,26,55.6%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00383/0.394, allocations: 1.846 MB / 0.5441 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008211/0.3948, allocations: 305.9 kB / 0.5444 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005081/0.3999, allocations: 3.762 MB / 0.5481 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.318e-05/0.4, allocations: 42.47 kB / 0.5481 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.4, allocations: 12 kB / 0.5481 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/0.4, allocations: 11.95 kB / 0.5482 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/0.4152, allocations: 10.07 MB / 0.558 GB, free: 1.879 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.4152, allocations: 4.688 kB / 0.558 GB, free: 1.875 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.4164, allocations: 383.5 kB / 0.5584 GB, free: 1.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008222/0.4172, allocations: 0.5632 MB / 0.5589 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/0.4174, allocations: 47.98 kB / 0.559 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006685/0.4241, allocations: 7.828 MB / 0.5666 GB, free: 8.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002327/0.4264, allocations: 3.151 MB / 0.5697 GB, free: 5.566 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1631/0.5895, allocations: 5.716 MB / 0.5753 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/0.5911, allocations: 0.5601 MB / 0.5758 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004851/0.5916, allocations: 46.83 kB / 0.5758 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009684/0.5925, allocations: 135.3 kB / 0.576 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.5929, allocations: 189.2 kB / 0.5762 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.593, allocations: 77.48 kB / 0.5762 GB, free: 150.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003153/0.5961, allocations: 1.938 MB / 0.5781 GB, free: 150.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5961, allocations: 0 / 0.5781 GB, free: 150.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003981/0.6001, allocations: 0.9596 MB / 0.5791 GB, free: 150.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 8 ($STATESET1.x,bodyRear.r[1],bodyRear.r[2],bodyRear.phi,idealWheelFront.phi_roll,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 (203): * Single equations (assignments): 197 * 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 {(6,26,55.6%), (3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006726/0.6068, allocations: 6.394 MB / 0.5853 GB, free: 149.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005997/0.6128, allocations: 4.818 MB / 0.59 GB, free: 147.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.6128, allocations: 3.844 kB / 0.59 GB, free: 147.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002053/0.6149, allocations: 1.977 MB / 0.5919 GB, free: 146.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.6168, allocations: 483.4 kB / 0.5924 GB, free: 146.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03905/0.6558, allocations: 37.96 MB / 0.6295 GB, free: 114.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002609/0.6585, allocations: 2.449 MB / 0.6319 GB, free: 111.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002592/0.661, allocations: 1.602 MB / 0.6334 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002135/0.6632, allocations: 1.648 MB / 0.635 GB, free: 108.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.904e-06/0.6632, allocations: 0 / 0.635 GB, free: 108.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0747/0.7379, allocations: 66.75 MB / 0.7002 GB, free: 42.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.12, allocations: 8.062 kB / 0.7002 GB, free: 42.49 MB / 474.7 MB " [Timeout remaining time 649] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_SingleTrackWithEngine_fmu --startTime=0 --stopTime=6 --stepSize=0.0024 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_SingleTrackWithEngine.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.897993989288807] Failed to read output from testmodel.py, exit status != 0: 11.243487202562392 11.256332027 11.062475722 Calling exit ...