Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Rotational.TestFriction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction") translateModel(ModelicaTest.Rotational.TestFriction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 187.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4139/0.4139, allocations: 39.93 MB / 309.4 MB, free: 9.035 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 66.41 kB / 377.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1691, allocations: 56.89 MB / 434 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.00691/0.176, allocations: 3.937 MB / 437.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.1795, allocations: 1.267 MB / 439.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00082/0.1804, allocations: 11.94 kB / 439.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.181, allocations: 91.33 kB / 439.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009624/0.182, allocations: 174.7 kB / 439.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.1833, allocations: 311.6 kB / 439.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001919/0.1852, allocations: 1.022 MB / 440.8 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004646/0.1857, allocations: 178.3 kB / 441 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.1869, allocations: 454.5 kB / 441.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009071/0.1878, allocations: 486.2 kB / 441.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.188, allocations: 76 kB / 442 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.1883, allocations: 127.9 kB / 442.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003156/0.1887, allocations: 203.4 kB / 442.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005516/0.1892, allocations: 394.1 kB / 442.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.1905, allocations: 0.9269 MB / 443.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1905, allocations: 4 kB / 443.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1905, allocations: 4 kB / 443.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.1906, allocations: 0 / 443.6 MB, free: 10.08 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002516/0.1931, allocations: 1.083 MB / 444.7 MB, free: 8.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.1932, allocations: 11.89 kB / 444.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.1933, allocations: 80 kB / 444.8 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.1939, allocations: 433.5 kB / 445.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-05/0.1939, allocations: 49.69 kB / 445.2 MB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.1941, allocations: 68.12 kB / 445.3 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.1955, allocations: 0.8218 MB / 446.1 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.1956, allocations: 11.91 kB / 446.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/0.1956, allocations: 28 kB / 446.2 MB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.1957, allocations: 12 kB / 446.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.1972, allocations: 0.7657 MB / 446.9 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/0.2016, allocations: 2.558 MB / 449.5 MB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.2031, allocations: 0.642 MB / 450.1 MB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007119/0.2038, allocations: 379.2 kB / 450.5 MB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.03e-05/0.2039, allocations: 12 kB / 450.5 MB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.2039, allocations: 42.5 kB / 450.6 MB, free: 2.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 3.607e-06/0.2039, allocations: 4 kB / 450.6 MB, free: 2.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=76): time 0.314/0.518, allocations: 3.528 MB / 454.1 MB, free: 51.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.5181, allocations: 140.9 kB / 454.2 MB, free: 51.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004855/0.5186, allocations: 423.3 kB / 454.7 MB, free: 51.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.765e-05/0.5187, allocations: 53.02 kB / 454.7 MB, free: 51.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.5189, allocations: 283.8 kB / 455 MB, free: 51.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.5191, allocations: 265.7 kB / 455.2 MB, free: 50.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.5194, allocations: 176.6 kB / 455.4 MB, free: 50.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.5195, allocations: 370.8 kB / 455.8 MB, free: 50.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/0.5201, allocations: 387.8 kB / 456.2 MB, free: 50.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000696/0.5208, allocations: 0.5442 MB / 456.7 MB, free: 50.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.5219, allocations: 0.7402 MB / 457.4 MB, free: 50.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5219, allocations: 0 / 457.4 MB, free: 50.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002362/0.5243, allocations: 1.283 MB / 458.7 MB, free: 49.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.5243, allocations: 6.656 kB / 458.7 MB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5243, allocations: 3.281 kB / 458.7 MB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.5256, allocations: 0.7664 MB / 459.5 MB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.526, allocations: 146.5 kB / 459.6 MB, free: 49.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.5278, allocations: 2.692 MB / 462.3 MB, free: 47.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000831/0.5286, allocations: 138.5 kB / 462.5 MB, free: 47.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.489e-05/0.5287, allocations: 39.69 kB / 462.5 MB, free: 47.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 30 (oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,bearingFriction.free,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,6), (1,7), (1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003294/0.529, allocations: 224.5 kB / 462.7 MB, free: 47.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.5292, allocations: 63.75 kB / 462.8 MB, free: 47.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.5294, allocations: 87.42 kB / 462.9 MB, free: 47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.5294, allocations: 10.03 kB / 462.9 MB, free: 47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/0.5294, allocations: 0 / 462.9 MB, free: 47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.5294, allocations: 3.781 kB / 462.9 MB, free: 47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/0.5327, allocations: 2.167 MB / 465.1 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5328, allocations: 0 / 465.1 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004965/0.5333, allocations: 115.7 kB / 465.2 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.5343, allocations: 0.7235 MB / 465.9 MB, free: 45.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.211e-05/0.5344, allocations: 28.84 kB / 465.9 MB, free: 45.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.5361, allocations: 2.654 MB / 468.6 MB, free: 43.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5361, allocations: 8.859 kB / 468.6 MB, free: 43.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.539, allocations: 1.768 MB / 470.3 MB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/0.5394, allocations: 219.1 kB / 470.6 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.5396, allocations: 27.97 kB / 470.6 MB, free: 42.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007792/0.5404, allocations: 120 kB / 470.7 MB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003878/0.5408, allocations: 150.5 kB / 470.9 MB, free: 42.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-05/0.5409, allocations: 34.3 kB / 470.9 MB, free: 42.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003826/0.5412, allocations: 291.9 kB / 471.2 MB, free: 42.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5413, allocations: 4 kB / 471.2 MB, free: 42.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001102/0.5424, allocations: 199.8 kB / 471.4 MB, free: 42.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (inertia4.phi,inertia4.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,inertia2.phi,inertia2.w,clutch.phi_rel,clutch.w_rel,inertia1.w,brake.phi,inertia.w,bearingFriction.phi) * Number of discrete variables: 18 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 11 (bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,brake.mode,brake.startForward,brake.startBackward,clutch.mode,clutch.startForward,clutch.startBackward,oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,6), (1,7), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004272/0.5428, allocations: 148.3 kB / 471.5 MB, free: 42.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.5452, allocations: 0.9832 MB / 472.5 MB, free: 41.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.5452, allocations: 0.875 kB / 472.5 MB, free: 41.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.5463, allocations: 0.5063 MB / 473 MB, free: 41.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.5473, allocations: 107.9 kB / 473.1 MB, free: 41.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/0.5519, allocations: 2.365 MB / 475.5 MB, free: 40.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.5524, allocations: 0.9065 MB / 476.4 MB, free: 39.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003518/0.5527, allocations: 63.16 kB / 476.4 MB, free: 39.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.5529, allocations: 53.36 kB / 476.5 MB, free: 39.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.734e-06/0.5529, allocations: 4 kB / 476.5 MB, free: 39.39 MB / 382.1 MB Notification: Performance of Templates: time 0.03212/0.585, allocations: 15.41 MB / 491.9 MB, free: 37.89 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.pipe 2>&1)