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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 103.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 225.6 MB / 250 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04724/0.04724, allocations: 9.249 MB / 314.3 MB, free: 76 kB / 238.1 MB [Timeout remaining time 90] 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.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=500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear") translateModel(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.89 kB / 437.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1139, allocations: 54.26 MB / 492 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.01796/0.1319, allocations: 16.22 MB / 0.4963 GB, free: 5.949 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009477/0.1413, allocations: 4.126 MB / 0.5004 GB, free: 1.809 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.1434, allocations: 67.88 kB / 0.5004 GB, free: 1.742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.1449, allocations: 0.6746 MB / 0.5011 GB, free: 1.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2518/0.3967, allocations: 2.269 MB / 0.5033 GB, free: 5.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.3986, allocations: 488.7 kB / 0.5038 GB, free: 5.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007539/0.4062, allocations: 4.632 MB / 0.5083 GB, free: 5.406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003001/0.4092, allocations: 1.617 MB / 0.5099 GB, free: 5.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003924/0.4131, allocations: 1.742 MB / 0.5116 GB, free: 4.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005043/0.4181, allocations: 2.609 MB / 0.5141 GB, free: 4.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.4195, allocations: 410.1 kB / 0.5145 GB, free: 4.188 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002937/0.4224, allocations: 1.071 MB / 0.5156 GB, free: 4.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002428/0.4248, allocations: 2.196 MB / 0.5177 GB, free: 3.176 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003252/0.4281, allocations: 2.812 MB / 0.5204 GB, free: 1.184 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.4394, allocations: 8.225 MB / 0.5285 GB, free: 12.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.4394, allocations: 1.812 kB / 0.5285 GB, free: 12.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4394, allocations: 0 / 0.5285 GB, free: 12.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002671/0.4397, allocations: 0 / 0.5285 GB, free: 12.52 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.04602/0.4857, allocations: 12.1 MB / 0.5403 GB, free: 3.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.4857, allocations: 12.03 kB / 0.5403 GB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007508/0.4932, allocations: 2.084 MB / 0.5423 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005808/0.499, allocations: 2.486 MB / 0.5448 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/0.4993, allocations: 305.9 kB / 0.5451 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009435/0.5002, allocations: 403.1 kB / 0.5455 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0334/0.5336, allocations: 15.28 MB / 0.5604 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001632/0.5338, allocations: 59.53 kB / 0.5604 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005925/0.5344, allocations: 195.1 kB / 0.5606 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004793/0.5392, allocations: 2.855 MB / 0.5634 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03777/0.577, allocations: 16.02 MB / 0.5791 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08795/0.6649, allocations: 52.67 MB / 0.6305 GB, free: 5.754 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03445/0.6994, allocations: 7.385 MB / 0.6377 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006376/0.7057, allocations: 2.83 MB / 0.6405 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03417/0.7399, allocations: 20.41 MB / 0.6604 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01116/0.7511, allocations: 3.804 MB / 0.6641 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=429): time 7.985e-06/0.7511, allocations: 0 / 0.6641 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=504): time 0.07961/0.8307, allocations: 44.1 MB / 0.7072 GB, free: 4.652 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005244/0.8312, allocations: 0.8302 MB / 0.708 GB, free: 3.637 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2354/1.067, allocations: 4.363 MB / 0.7122 GB, free: 192.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008397/1.067, allocations: 103.2 kB / 0.7123 GB, free: 192.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003382/1.071, allocations: 3.647 MB / 0.7159 GB, free: 191 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002205/1.073, allocations: 1.89 MB / 0.7177 GB, free: 189.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002838/1.076, allocations: 1.683 MB / 0.7194 GB, free: 188.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.355e-05/1.076, allocations: 304 kB / 0.7197 GB, free: 188.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00966/1.086, allocations: 2.998 MB / 0.7226 GB, free: 187.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01442/1.1, allocations: 7.132 MB / 0.7296 GB, free: 181.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02075/1.121, allocations: 11.13 MB / 0.7404 GB, free: 172.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000405/1.121, allocations: 40.94 kB / 0.7405 GB, free: 172.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.02352/1.145, allocations: 11.04 MB / 0.7513 GB, free: 168.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/1.145, allocations: 96 kB / 0.7514 GB, free: 168.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001698/1.145, allocations: 144.5 kB / 0.7515 GB, free: 168.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001877/1.147, allocations: 0.932 MB / 0.7524 GB, free: 168.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006443/1.153, allocations: 1.996 MB / 0.7544 GB, free: 167.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009047/1.162, allocations: 8.122 MB / 0.7623 GB, free: 161.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007266/1.17, allocations: 489.4 kB / 0.7628 GB, free: 161.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001801/1.171, allocations: 482.2 kB / 0.7632 GB, free: 160.9 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.006047/1.177, allocations: 2.527 MB / 0.7657 GB, free: 158.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001569/1.179, allocations: 0.4967 MB / 0.7662 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/1.189, allocations: 5.818 MB / 0.7718 GB, free: 153.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001396/1.189, allocations: 67.84 kB / 0.7719 GB, free: 153.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.169e-05/1.189, allocations: 16 kB / 0.7719 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-05/1.189, allocations: 33.69 kB / 0.772 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02139/1.211, allocations: 18.58 MB / 0.7901 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-05/1.211, allocations: 10.81 kB / 0.7901 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002829/1.214, allocations: 0.8035 MB / 0.7909 GB, free: 134.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001589/1.215, allocations: 0.7799 MB / 0.7917 GB, free: 133.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003792/1.215, allocations: 99.92 kB / 0.7918 GB, free: 133.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007836/1.223, allocations: 7.405 MB / 0.799 GB, free: 126 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.223, allocations: 17.36 kB / 0.799 GB, free: 125.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/1.236, allocations: 10.03 MB / 0.8088 GB, free: 115.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/1.238, allocations: 0.5408 MB / 0.8093 GB, free: 115.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006854/1.239, allocations: 100.3 kB / 0.8094 GB, free: 115 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/1.241, allocations: 231.7 kB / 0.8096 GB, free: 114.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005847/1.241, allocations: 323 kB / 0.8099 GB, free: 114.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002268/1.242, allocations: 136 kB / 0.8101 GB, free: 114.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003881/1.246, allocations: 2.75 MB / 0.8128 GB, free: 111.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.246, allocations: 0 / 0.8128 GB, free: 111.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009574/1.255, allocations: 1.515 MB / 0.8142 GB, free: 110.1 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.0008386/1.256, allocations: 289.2 kB / 0.8145 GB, free: 109.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01193/1.268, allocations: 7.938 MB / 0.8223 GB, free: 101.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/1.268, allocations: 0 / 0.8223 GB, free: 101.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004971/1.273, allocations: 3.39 MB / 0.8256 GB, free: 98.28 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007178/1.28, allocations: 0.7082 MB / 0.8263 GB, free: 97.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02625/1.306, allocations: 14.3 MB / 0.8402 GB, free: 83.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003838/1.31, allocations: 4.021 MB / 0.8442 GB, free: 79.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/1.312, allocations: 451.3 kB / 0.8446 GB, free: 78.66 MB / 0.545 GB Notification: Performance of SimCode: time 1.112e-06/1.312, allocations: 0 / 0.8446 GB, free: 78.66 MB / 0.545 GB Notification: Performance of Templates: time 0.4247/1.736, allocations: 206.3 MB / 1.046 GB, free: 65.49 MB / 0.545 GB [Timeout remaining time 658] 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]