Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 174 kB / 17.36 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007338/0.0007338, allocations: 86.53 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002503/0.0002503, allocations: 8 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2269, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.002149/0.2291, allocations: 1.859 MB / 378.5 MB, free: 44.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2304, allocations: 0.7665 MB / 379.2 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.2305, allocations: 3.469 kB / 379.2 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.2307, allocations: 28.78 kB / 379.3 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.2309, allocations: 58.31 kB / 379.3 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.2311, allocations: 80.45 kB / 379.4 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.2314, allocations: 253.2 kB / 379.6 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.2315, allocations: 48.81 kB / 379.7 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.2317, allocations: 98.09 kB / 379.8 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.2319, allocations: 118.3 kB / 379.9 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.232, allocations: 10.56 kB / 379.9 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.2321, allocations: 50.47 kB / 380 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-05/0.2322, allocations: 40.33 kB / 380 MB, free: 43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.2323, allocations: 127.2 kB / 380.1 MB, free: 42.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.2326, allocations: 254.8 kB / 380.4 MB, free: 42.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2326, allocations: 0 / 380.4 MB, free: 42.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2326, allocations: 0.7188 kB / 380.4 MB, free: 42.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.2326, allocations: 3.938 kB / 380.4 MB, free: 42.71 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0006444/0.2333, allocations: 492.4 kB / 380.9 MB, free: 42.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2333, allocations: 8.781 kB / 380.9 MB, free: 42.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.2334, allocations: 25.19 kB / 380.9 MB, free: 42.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.2336, allocations: 239.8 kB / 381.1 MB, free: 41.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.2337, allocations: 12.69 kB / 381.1 MB, free: 41.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.2337, allocations: 21.66 kB / 381.2 MB, free: 41.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.2341, allocations: 236.8 kB / 381.4 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.2342, allocations: 4.938 kB / 381.4 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.2342, allocations: 10.06 kB / 381.4 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2342, allocations: 4.531 kB / 381.4 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.2345, allocations: 162.2 kB / 381.6 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009882/0.2355, allocations: 0.7846 MB / 382.3 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.2359, allocations: 138.9 kB / 382.5 MB, free: 40.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.236, allocations: 72.52 kB / 382.6 MB, free: 40.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.236, allocations: 1.188 kB / 382.6 MB, free: 40.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.2361, allocations: 36.12 kB / 382.6 MB, free: 40.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.2361, allocations: 3.938 kB / 382.6 MB, free: 40.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.001705/0.2378, allocations: 1.01 MB / 383.6 MB, free: 40.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.2378, allocations: 57.78 kB / 383.7 MB, free: 40.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.238, allocations: 209.1 kB / 383.9 MB, free: 39.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.238, allocations: 31.27 kB / 383.9 MB, free: 39.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.2381, allocations: 141.3 kB / 384 MB, free: 39.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.2382, allocations: 72.62 kB / 384.1 MB, free: 39.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.2382, allocations: 4 kB / 384.1 MB, free: 39.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.054e-05/0.2382, allocations: 331.8 kB / 384.4 MB, free: 39.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.2384, allocations: 82.58 kB / 384.5 MB, free: 39.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.2386, allocations: 114.3 kB / 384.6 MB, free: 39.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.2389, allocations: 173.8 kB / 384.8 MB, free: 39.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2389, allocations: 1 kB / 384.8 MB, free: 39.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00048/0.2394, allocations: 296.1 kB / 385.1 MB, free: 38.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2394, allocations: 5.562 kB / 385.1 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2394, allocations: 0.875 kB / 385.1 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002964/0.2397, allocations: 77.5 kB / 385.2 MB, free: 38.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2399, allocations: 41.89 kB / 385.2 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003997/0.2403, allocations: 0.6172 MB / 385.8 MB, free: 38.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.2405, allocations: 34.81 kB / 385.9 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.2405, allocations: 10.31 kB / 385.9 MB, free: 38.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 9.911e-05/0.2406, allocations: 133 kB / 386 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.2407, allocations: 21 kB / 386 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.053e-05/0.2407, allocations: 26.08 kB / 386 MB, free: 38.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.2407, allocations: 5.656 kB / 386.1 MB, free: 38.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2407, allocations: 1.406 kB / 386.1 MB, free: 38.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2407, allocations: 0 / 386.1 MB, free: 38.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000722/0.2415, allocations: 0.6068 MB / 386.7 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2415, allocations: 5.141 kB / 386.7 MB, free: 37.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.2417, allocations: 33.27 kB / 386.7 MB, free: 37.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000169/0.2418, allocations: 70.31 kB / 386.8 MB, free: 37.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.2419, allocations: 2.312 kB / 386.8 MB, free: 37.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003655/0.2422, allocations: 0.6256 MB / 387.4 MB, free: 36.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2422, allocations: 1.312 kB / 387.4 MB, free: 36.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.2428, allocations: 419.9 kB / 387.8 MB, free: 36.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-05/0.2429, allocations: 110.1 kB / 387.9 MB, free: 36.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.243, allocations: 6.312 kB / 387.9 MB, free: 36.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.2432, allocations: 25.98 kB / 387.9 MB, free: 36.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.2432, allocations: 26.33 kB / 388 MB, free: 36.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.2433, allocations: 8.375 kB / 388 MB, free: 36.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.2434, allocations: 154.1 kB / 388.1 MB, free: 36.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2434, allocations: 0 / 388.1 MB, free: 36.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003102/0.2437, allocations: 72.11 kB / 388.2 MB, free: 36.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,torqueLoad.phi) * Number of discrete variables: 3 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck) * Number of discrete states: 2 (oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.2439, allocations: 123.2 kB / 388.3 MB, free: 36.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000438/0.2443, allocations: 208.5 kB / 388.5 MB, free: 35.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2443, allocations: 0 / 388.5 MB, free: 35.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.2445, allocations: 112 kB / 388.6 MB, free: 35.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.2449, allocations: 35.88 kB / 388.7 MB, free: 35.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.246, allocations: 0.8349 MB / 389.5 MB, free: 34.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.2462, allocations: 0.7482 MB / 390.2 MB, free: 34.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.837e-05/0.2463, allocations: 17.95 kB / 390.3 MB, free: 34.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.2463, allocations: 15.44 kB / 390.3 MB, free: 34.17 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2463, allocations: 0 / 390.3 MB, free: 34.17 MB / 298.7 MB Notification: Performance of Templates: time 0.005334/0.2516, allocations: 2.907 MB / 393.2 MB, free: 31.28 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches