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.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.001586/0.001586, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001702/0.001702, allocations: 161 kB / 23.01 MB, free: 4.602 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.891 MB / 190.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.06508/0.06508, allocations: 7.13 MB / 266.9 MB, free: 9.719 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: 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: 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.002215/0.002215, allocations: 67.89 kB / 393.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1048, allocations: 55.46 MB / 448.8 MB, free: 2.902 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.0179/0.1227, allocations: 13.94 MB / 462.8 MB, free: 4.898 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.1327, allocations: 3.982 MB / 466.8 MB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002726/0.1354, allocations: 79.69 kB / 466.8 MB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.1377, allocations: 0.6746 MB / 467.5 MB, free: 148 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006616/0.1443, allocations: 2.271 MB / 469.8 MB, free: 13.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.1459, allocations: 479.2 kB / 470.3 MB, free: 13.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007057/0.1529, allocations: 4.591 MB / 474.8 MB, free: 8.789 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002958/0.1559, allocations: 1.565 MB / 476.4 MB, free: 7.188 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.1593, allocations: 1.782 MB / 478.2 MB, free: 5.398 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00452/0.1638, allocations: 2.447 MB / 480.6 MB, free: 2.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001381/0.1652, allocations: 412 kB / 481 MB, free: 2.535 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.168, allocations: 0.9637 MB / 482 MB, free: 1.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1999/0.368, allocations: 2.156 MB / 484.2 MB, free: 46.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002679/0.3706, allocations: 2.032 MB / 486.2 MB, free: 46.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009758/0.3804, allocations: 8.192 MB / 494.4 MB, free: 44.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3804, allocations: 0 / 494.4 MB, free: 44.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3804, allocations: 0 / 494.4 MB, free: 44.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003382/0.3807, allocations: 0 / 494.4 MB, free: 44.85 MB / 446.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.05108/0.4318, allocations: 12.28 MB / 0.4948 GB, free: 42.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.4319, allocations: 13.11 kB / 0.4948 GB, free: 42.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007492/0.4393, allocations: 2.226 MB / 0.497 GB, free: 42.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006061/0.4454, allocations: 2.366 MB / 0.4993 GB, free: 41.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/0.4457, allocations: 296.9 kB / 0.4996 GB, free: 41.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001873/0.4476, allocations: 407.3 kB / 0.5 GB, free: 41.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03499/0.4826, allocations: 15.3 MB / 0.5149 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002259/0.4828, allocations: 60.92 kB / 0.515 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009489/0.4837, allocations: 192.9 kB / 0.5151 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004869/0.4886, allocations: 2.859 MB / 0.5179 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03607/0.5247, allocations: 15.93 MB / 0.5335 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07799/0.6027, allocations: 48.86 MB / 0.5812 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03709/0.6398, allocations: 7.229 MB / 0.5883 GB, free: 9.383 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006357/0.6461, allocations: 2.823 MB / 0.591 GB, free: 6.555 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0316/0.6777, allocations: 11.73 MB / 0.6025 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01277/0.6905, allocations: 4.064 MB / 0.6065 GB, free: 6.777 MB / 494.1 MB Notification: Performance of pre-optimization done (n=429): time 1.336e-05/0.6905, allocations: 0 / 0.6065 GB, free: 6.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=504): time 0.09323/0.7837, allocations: 43.95 MB / 0.6494 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005619/0.7843, allocations: 0.8266 MB / 0.6502 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005895/0.7902, allocations: 3.781 MB / 0.6539 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007859/0.791, allocations: 101.7 kB / 0.654 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003841/0.7948, allocations: 3.684 MB / 0.6576 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002483/0.7973, allocations: 1.89 MB / 0.6594 GB, free: 224 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002873/0.8002, allocations: 1.699 MB / 0.6611 GB, free: 14.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.8003, allocations: 305.1 kB / 0.6614 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005735/0.806, allocations: 3.013 MB / 0.6643 GB, free: 11.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01132/0.8174, allocations: 7.153 MB / 0.6713 GB, free: 2.102 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02318/0.8405, allocations: 11.12 MB / 0.6822 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000188/0.8407, allocations: 40 kB / 0.6822 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.246/1.087, allocations: 10.99 MB / 0.6929 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/1.087, allocations: 101.7 kB / 0.693 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000166/1.087, allocations: 139.6 kB / 0.6932 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/1.089, allocations: 0.9292 MB / 0.6941 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006448/1.095, allocations: 2.004 MB / 0.696 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009496/1.105, allocations: 7.872 MB / 0.7037 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006339/1.111, allocations: 490.8 kB / 0.7042 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001232/1.112, allocations: 484.9 kB / 0.7046 GB, free: 173.8 MB / 0.5606 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.004209/1.117, allocations: 2.523 MB / 0.7071 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007464/1.117, allocations: 449.8 kB / 0.7075 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00917/1.127, allocations: 5.751 MB / 0.7131 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001643/1.127, allocations: 68.8 kB / 0.7132 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.219e-05/1.127, allocations: 17.75 kB / 0.7132 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-05/1.127, allocations: 30.48 kB / 0.7133 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0235/1.15, allocations: 16.73 MB / 0.7296 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/1.15, allocations: 8.875 kB / 0.7296 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003371/1.154, allocations: 0.808 MB / 0.7304 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001867/1.156, allocations: 0.771 MB / 0.7311 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003783/1.156, allocations: 105.5 kB / 0.7312 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009643/1.166, allocations: 7.159 MB / 0.7382 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.945e-05/1.166, allocations: 12.91 kB / 0.7383 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/1.181, allocations: 9.939 MB / 0.748 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/1.182, allocations: 402 kB / 0.7483 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009186/1.183, allocations: 96.64 kB / 0.7484 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002582/1.185, allocations: 248.4 kB / 0.7487 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008742/1.186, allocations: 339.5 kB / 0.749 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00036/1.186, allocations: 136.6 kB / 0.7491 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003639/1.19, allocations: 2.15 MB / 0.7512 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.19, allocations: 0 / 0.7512 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006132/1.196, allocations: 1.481 MB / 0.7527 GB, free: 152.5 MB / 0.5606 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.0008014/1.197, allocations: 283.8 kB / 0.7529 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01125/1.208, allocations: 7.656 MB / 0.7604 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/1.208, allocations: 0 / 0.7604 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004392/1.213, allocations: 3.104 MB / 0.7634 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/1.216, allocations: 0.502 MB / 0.7639 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0222/1.238, allocations: 13.65 MB / 0.7773 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005145/1.243, allocations: 3.505 MB / 0.7807 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005692/1.249, allocations: 2.323 MB / 0.783 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/1.25, allocations: 356.4 kB / 0.7833 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/1.25, allocations: 4 kB / 0.7833 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.07969/1.33, allocations: 46.62 MB / 0.8288 GB, free: 77.29 MB / 0.5606 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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.125726822996512] Failed to read output from testmodel.py, exit status != 0: 1.3401210960000753 1.350033034 0.966997111 Calling exit ...