Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") translateModel(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009668/0.0009668, allocations: 193.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007824/0.0007824, allocations: 103.5 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002083/0.0002084, allocations: 4 kB / 360.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2121, allocations: 51.42 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque): time 0.00165/0.2138, allocations: 1.911 MB / 414 MB, free: 23.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00096/0.2148, allocations: 1.018 MB / 415 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.369e-05/0.2149, allocations: 7.938 kB / 415 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.215, allocations: 23.78 kB / 415 MB, free: 22.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.2152, allocations: 67.5 kB / 415.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.2155, allocations: 103.8 kB / 415.2 MB, free: 22.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.2157, allocations: 284.4 kB / 415.4 MB, free: 22.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.2158, allocations: 60.67 kB / 415.5 MB, free: 22.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.976e-05/0.2159, allocations: 91.59 kB / 415.6 MB, free: 22.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.216, allocations: 131.3 kB / 415.7 MB, free: 22.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.216, allocations: 8 kB / 415.7 MB, free: 22.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.168e-05/0.2161, allocations: 12 kB / 415.7 MB, free: 22.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.2161, allocations: 35.84 kB / 415.8 MB, free: 22.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.73e-05/0.2162, allocations: 149 kB / 415.9 MB, free: 21.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.2164, allocations: 236.6 kB / 416.2 MB, free: 21.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2164, allocations: 3.938 kB / 416.2 MB, free: 21.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2164, allocations: 0 / 416.2 MB, free: 21.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.2164, allocations: 0 / 416.2 MB, free: 21.69 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005148/0.2169, allocations: 499 kB / 416.6 MB, free: 21.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.217, allocations: 12.03 kB / 416.7 MB, free: 21.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.217, allocations: 24.66 kB / 416.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.2172, allocations: 251.8 kB / 416.9 MB, free: 20.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.2172, allocations: 12.81 kB / 416.9 MB, free: 20.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.2173, allocations: 24.38 kB / 417 MB, free: 20.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.2176, allocations: 239 kB / 417.2 MB, free: 20.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.2176, allocations: 7.906 kB / 417.2 MB, free: 20.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.2177, allocations: 12 kB / 417.2 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2177, allocations: 4 kB / 417.2 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.218, allocations: 151.8 kB / 417.4 MB, free: 20.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009784/0.2189, allocations: 1.056 MB / 418.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.2193, allocations: 218.4 kB / 418.6 MB, free: 18.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.2194, allocations: 75.48 kB / 418.7 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.2195, allocations: 7.938 kB / 418.7 MB, free: 18.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.2195, allocations: 38.56 kB / 418.8 MB, free: 18.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.2195, allocations: 0 / 418.8 MB, free: 18.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004585/0.2199, allocations: 213.1 kB / 419 MB, free: 18.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.22, allocations: 128.5 kB / 419.1 MB, free: 18.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2201, allocations: 195 kB / 419.3 MB, free: 18.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.2201, allocations: 25.7 kB / 419.3 MB, free: 18.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.2202, allocations: 167.8 kB / 419.5 MB, free: 18.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.2202, allocations: 67.08 kB / 419.5 MB, free: 17.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/0.2202, allocations: 8 kB / 419.5 MB, free: 17.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.708e-05/0.2203, allocations: 330.8 kB / 419.9 MB, free: 17.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.2204, allocations: 55.97 kB / 419.9 MB, free: 17.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.2206, allocations: 165.6 kB / 420.1 MB, free: 17.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.2209, allocations: 241.5 kB / 420.3 MB, free: 17.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2209, allocations: 0 / 420.3 MB, free: 17.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000374/0.2213, allocations: 265.1 kB / 420.6 MB, free: 16.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2213, allocations: 11.94 kB / 420.6 MB, free: 16.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.2213, allocations: 4 kB / 420.6 MB, free: 16.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2213, allocations: 7.938 kB / 420.6 MB, free: 16.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.2216, allocations: 71.84 kB / 420.7 MB, free: 16.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2216, allocations: 11.98 kB / 420.7 MB, free: 16.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.2217, allocations: 24.03 kB / 420.7 MB, free: 16.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.2217, allocations: 16 kB / 420.7 MB, free: 16.69 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.807e-05/0.2218, allocations: 141.7 kB / 420.9 MB, free: 16.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/0.2219, allocations: 23.69 kB / 420.9 MB, free: 16.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/0.222, allocations: 20.92 kB / 420.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.222, allocations: 4 kB / 420.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.222, allocations: 0 / 420.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.222, allocations: 4 kB / 420.9 MB, free: 16.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.2223, allocations: 277.6 kB / 421.2 MB, free: 16.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2223, allocations: 0 / 421.2 MB, free: 16.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.2226, allocations: 55.97 kB / 421.2 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2226, allocations: 8.688 kB / 421.2 MB, free: 16.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.2226, allocations: 8 kB / 421.3 MB, free: 16.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2226, allocations: 0 / 421.3 MB, free: 16.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2227, allocations: 0 / 421.3 MB, free: 16.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.2231, allocations: 0.5283 MB / 421.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.2231, allocations: 104.8 kB / 421.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.2231, allocations: 3.984 kB / 421.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.2233, allocations: 12 kB / 421.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.2234, allocations: 11.98 kB / 421.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.2234, allocations: 8 kB / 421.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.396e-05/0.2235, allocations: 136.5 kB / 422.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2235, allocations: 0 / 422.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003711/0.2239, allocations: 59.84 kB / 422.1 MB, free: 15.21 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.w,signTorque.phi,inertia2.w,linearSpeedDependentTorque.phi,inertia3.w,quadraticSpeedDependentTorque.phi,inertia4.w,inverseSpeedDependentTorque.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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.566e-05/0.224, allocations: 111.7 kB / 422.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.2243, allocations: 159.7 kB / 422.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2243, allocations: 0 / 422.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.2244, allocations: 68.66 kB / 422.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.225, allocations: 63.97 kB / 422.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.2261, allocations: 1.032 MB / 423.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.2263, allocations: 0.7482 MB / 424.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.656e-05/0.2264, allocations: 22.3 kB / 424.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.2264, allocations: 23.42 kB / 424.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2264, allocations: 0 / 424.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of Templates: time 0.004091/0.2305, allocations: 2.067 MB / 426.4 MB, free: 10.88 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe 2>&1)