Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 188.7 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.06612/0.06612, allocations: 9.26 MB / 315.5 MB, free: 15.61 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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear") translateModel(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 71.89 kB / 439.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1168, allocations: 54.29 MB / 494.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.0203/0.1371, allocations: 16.27 MB / 0.4984 GB, free: 4.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.1475, allocations: 4.129 MB / 0.5024 GB, free: 220 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003426/0.1509, allocations: 79.69 kB / 0.5025 GB, free: 140 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00262/0.1535, allocations: 0.6785 MB / 0.5031 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008004/0.1615, allocations: 2.279 MB / 0.5054 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.1636, allocations: 483.2 kB / 0.5058 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008726/0.1723, allocations: 4.639 MB / 0.5104 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003504/0.1758, allocations: 1.607 MB / 0.5119 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004461/0.1803, allocations: 1.778 MB / 0.5137 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004754/0.1851, allocations: 2.603 MB / 0.5162 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001625/0.1867, allocations: 412 kB / 0.5166 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.1901, allocations: 1.085 MB / 0.5177 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2183/0.4084, allocations: 2.188 MB / 0.5198 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005349/0.4137, allocations: 2.811 MB / 0.5225 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.426, allocations: 8.221 MB / 0.5306 GB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.426, allocations: 1.438 kB / 0.5306 GB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.426, allocations: 0 / 0.5306 GB, free: 7.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003978/0.4264, allocations: 0 / 0.5306 GB, free: 7.289 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: 2054 * Number of variables: 2054 Notification: Performance of Generate backend data structure: time 0.05154/0.4779, allocations: 12.04 MB / 0.5423 GB, free: 4.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.478, allocations: 9.438 kB / 0.5423 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009314/0.4873, allocations: 2.083 MB / 0.5444 GB, free: 3.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00698/0.4943, allocations: 2.418 MB / 0.5467 GB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.4945, allocations: 305.3 kB / 0.547 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/0.496, allocations: 404.7 kB / 0.5474 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03891/0.535, allocations: 15.28 MB / 0.5623 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003042/0.5353, allocations: 62.3 kB / 0.5624 GB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002014/0.5373, allocations: 189.7 kB / 0.5626 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005702/0.543, allocations: 2.855 MB / 0.5654 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04466/0.5876, allocations: 16.01 MB / 0.581 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09497/0.6826, allocations: 52.58 MB / 0.6323 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03389/0.7165, allocations: 6.871 MB / 0.639 GB, free: 8.883 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006396/0.7229, allocations: 2.826 MB / 0.6418 GB, free: 6.051 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03273/0.7556, allocations: 12.51 MB / 0.654 GB, free: 9.676 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01224/0.7679, allocations: 3.8 MB / 0.6577 GB, free: 5.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=429): time 1.285e-05/0.7679, allocations: 0 / 0.6577 GB, free: 5.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=504): time 0.09483/0.8627, allocations: 43.41 MB / 0.7001 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000609/0.8633, allocations: 0.8272 MB / 0.7009 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008041/0.8713, allocations: 4.37 MB / 0.7052 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001121/0.8725, allocations: 112.8 kB / 0.7053 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004748/0.8772, allocations: 3.638 MB / 0.7089 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003081/0.8803, allocations: 1.884 MB / 0.7107 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003294/0.8836, allocations: 1.688 MB / 0.7123 GB, free: 13.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.8838, allocations: 309.1 kB / 0.7126 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005894/0.8897, allocations: 2.996 MB / 0.7156 GB, free: 10.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0102/0.8999, allocations: 7.131 MB / 0.7225 GB, free: 1.148 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2655/1.165, allocations: 11.12 MB / 0.7334 GB, free: 181.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000161/1.166, allocations: 43.06 kB / 0.7334 GB, free: 181.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.02282/1.188, allocations: 11.05 MB / 0.7442 GB, free: 177.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.188, allocations: 93.91 kB / 0.7443 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001741/1.189, allocations: 141.6 kB / 0.7444 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/1.191, allocations: 0.9352 MB / 0.7454 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007108/1.198, allocations: 1.998 MB / 0.7473 GB, free: 176.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009444/1.207, allocations: 8 MB / 0.7551 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00802/1.215, allocations: 486.1 kB / 0.7556 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001617/1.217, allocations: 488.5 kB / 0.7561 GB, free: 172.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 641 * Number of states: 0 () * Number of discrete variables: 41 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],rightTrail.color[3],rightTrail.color[2],rightTrail.color[1],leftTrail.color[3],leftTrail.color[2],leftTrail.color[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1074): * Single equations (assignments): 1064 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,51,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005092/1.222, allocations: 2.521 MB / 0.7585 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009348/1.223, allocations: 0.4996 MB / 0.759 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00845/1.231, allocations: 5.815 MB / 0.7647 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001426/1.231, allocations: 66.36 kB / 0.7647 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.366e-05/1.231, allocations: 23.94 kB / 0.7648 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.01e-05/1.231, allocations: 30.5 kB / 0.7648 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02434/1.256, allocations: 18.47 MB / 0.7828 GB, free: 149.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.249e-05/1.256, allocations: 8 kB / 0.7828 GB, free: 149.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003357/1.259, allocations: 0.803 MB / 0.7836 GB, free: 149 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/1.261, allocations: 0.7862 MB / 0.7844 GB, free: 148.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004531/1.261, allocations: 95.98 kB / 0.7845 GB, free: 148.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007944/1.269, allocations: 7.299 MB / 0.7916 GB, free: 140.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.269, allocations: 19.88 kB / 0.7916 GB, free: 140.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/1.283, allocations: 10.02 MB / 0.8014 GB, free: 130.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/1.285, allocations: 480.6 kB / 0.8019 GB, free: 129.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001309/1.286, allocations: 92 kB / 0.802 GB, free: 129.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002664/1.289, allocations: 229.4 kB / 0.8022 GB, free: 129.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006821/1.29, allocations: 344.6 kB / 0.8025 GB, free: 129.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/1.29, allocations: 138.8 kB / 0.8026 GB, free: 129.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004193/1.294, allocations: 2.75 MB / 0.8053 GB, free: 126.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.294, allocations: 0 / 0.8053 GB, free: 126.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007728/1.302, allocations: 1.509 MB / 0.8068 GB, free: 124.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 16 (body1.r[1],body1.r[2],body1.v[1],body1.v[2],body1.phi,body1.w,inertia.phi,inertia.w,inertia1.phi,inertia1.w,inertia2.phi,inertia2.w,inertia3.phi,inertia3.w,revolute.phi,revolute2.w) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (433): * Single equations (assignments): 422 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,51,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009108/1.303, allocations: 288.8 kB / 0.8071 GB, free: 124.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.314, allocations: 7.641 MB / 0.8145 GB, free: 116.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.314, allocations: 0 / 0.8145 GB, free: 116.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004738/1.319, allocations: 3.122 MB / 0.8176 GB, free: 113.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003788/1.322, allocations: 0.6965 MB / 0.8183 GB, free: 113.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02083/1.343, allocations: 13.75 MB / 0.8317 GB, free: 99.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003636/1.347, allocations: 4.021 MB / 0.8356 GB, free: 95.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005247/1.352, allocations: 2.403 MB / 0.838 GB, free: 92.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.353, allocations: 387.3 kB / 0.8383 GB, free: 92.41 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/1.353, allocations: 0 / 0.8383 GB, free: 92.41 MB / 0.545 GB Notification: Performance of Templates: time 0.09931/1.452, allocations: 58.47 MB / 0.8954 GB, free: 34.36 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.66075877007097] Failed to read output from testmodel.py, exit status != 0: 1.4612343469634652 1.471790168 1.043075175 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7faa3da617b0>