Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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) 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(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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 111.4 kB / 18.4 MB, free: 4.539 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.001821/0.001822, allocations: 187.1 kB / 19.35 MB, free: 3.609 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.269/1.269, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.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: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 55.92 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07127/0.07247, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003215/0.07571, allocations: 2.204 MB / 378 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.07697, allocations: 0.729 MB / 378.8 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.07713, allocations: 8 kB / 378.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.07731, allocations: 35.66 kB / 378.8 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.07751, allocations: 67.47 kB / 378.9 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.07783, allocations: 103.8 kB / 379 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.07813, allocations: 251.5 kB / 379.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.07829, allocations: 76.28 kB / 379.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.07846, allocations: 115.5 kB / 379.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.07867, allocations: 115.5 kB / 379.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.07872, allocations: 20 kB / 379.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.07887, allocations: 83.86 kB / 379.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.039e-05/0.07895, allocations: 47.84 kB / 379.7 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.07907, allocations: 103.5 kB / 379.8 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.07941, allocations: 278.9 kB / 380 MB, free: 360 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.07943, allocations: 4 kB / 380 MB, free: 356 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.07944, allocations: 0 / 380 MB, free: 356 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.07945, allocations: 4 kB / 380 MB, free: 352 kB / 318.1 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.1451/0.2245, allocations: 0.5085 MB / 380.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2246, allocations: 10.28 kB / 380.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.2246, allocations: 27.75 kB / 380.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.2249, allocations: 236.1 kB / 380.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.2249, allocations: 18.03 kB / 380.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.225, allocations: 25.03 kB / 380.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.2254, allocations: 225.9 kB / 381.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.2254, allocations: 5.328 kB / 381.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.2254, allocations: 10.06 kB / 381.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.2254, allocations: 4.125 kB / 381.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/0.2257, allocations: 168.9 kB / 381.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009475/0.2267, allocations: 0.7682 MB / 382 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.227, allocations: 132 kB / 382.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.2272, allocations: 71.53 kB / 382.2 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.2272, allocations: 1.375 kB / 382.2 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.216e-05/0.2272, allocations: 39.11 kB / 382.3 MB, free: 12.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.2272, allocations: 0 / 382.3 MB, free: 12.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001618/0.2288, allocations: 0.9941 MB / 383.3 MB, free: 11.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.283e-05/0.2289, allocations: 55.88 kB / 383.3 MB, free: 11.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.2291, allocations: 208.8 kB / 383.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.2291, allocations: 31.36 kB / 383.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.2291, allocations: 141.3 kB / 383.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.2292, allocations: 73.7 kB / 383.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.499e-05/0.2293, allocations: 57.7 kB / 383.8 MB, free: 11.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.2293, allocations: 329 kB / 384.1 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.2295, allocations: 75.64 kB / 384.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.2297, allocations: 125.4 kB / 384.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.23, allocations: 171.5 kB / 384.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.23, allocations: 1.25 kB / 384.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004395/0.2304, allocations: 284.8 kB / 384.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2304, allocations: 6.984 kB / 384.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2305, allocations: 1.156 kB / 384.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002244/0.2307, allocations: 75.73 kB / 384.9 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.2309, allocations: 38 kB / 384.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003446/0.2312, allocations: 0.6228 MB / 385.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.2314, allocations: 25.27 kB / 385.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.2314, allocations: 7.359 kB / 385.6 MB, free: 10.07 MB / 318.1 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 (oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward) * 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 8.693e-05/0.2315, allocations: 137.6 kB / 385.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.2316, allocations: 21.97 kB / 385.7 MB, free: 9.926 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.2316, allocations: 24.86 kB / 385.7 MB, free: 9.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2316, allocations: 1.078 kB / 385.7 MB, free: 9.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2316, allocations: 5.438 kB / 385.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.2317, allocations: 111.1 kB / 385.9 MB, free: 9.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.2317, allocations: 6.453 kB / 385.9 MB, free: 9.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.2319, allocations: 16.72 kB / 385.9 MB, free: 9.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.232, allocations: 22.06 kB / 385.9 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006277/0.2326, allocations: 326.8 kB / 386.2 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004538/0.2331, allocations: 441.7 kB / 386.6 MB, free: 9.312 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001311/0.2332, allocations: 71.45 kB / 386.7 MB, free: 9.289 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.2333, allocations: 151.7 kB / 386.9 MB, free: 9.191 MB / 318.1 MB Notification: Performance of Backend: time 2.8e-07/0.2334, allocations: 5.5 kB / 386.9 MB, free: 9.188 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006535/0.234, allocations: 240.5 kB / 387.1 MB, free: 9.07 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009154/0.2349, allocations: 1.087 MB / 388.2 MB, free: 8.176 MB / 318.1 MB Notification: Performance of Templates: time 0.006739/0.2417, allocations: 3.365 MB / 391.6 MB, free: 7.934 MB / 318.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches