Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutch,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.OneWayClutch") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutch,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.OneWayClutch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008684/0.0008686, allocations: 84.11 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.746e-05/1.77e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09683, allocations: 47.59 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3394/0.4363, allocations: 77.82 MB / 440.9 MB, free: 1.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.4366, allocations: 68.59 kB / 441 MB, free: 1.805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01249/0.4491, allocations: 4.042 MB / 445 MB, free: 14.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4491, allocations: 0 / 445 MB, free: 14.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.4491, allocations: 4 kB / 445 MB, free: 14.41 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008494/0.45, allocations: 0.5286 MB / 445.5 MB, free: 13.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.4501, allocations: 8.031 kB / 445.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.4501, allocations: 23.72 kB / 445.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.4504, allocations: 220.7 kB / 445.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.4505, allocations: 11.89 kB / 445.8 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.4505, allocations: 15.98 kB / 445.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002713/0.4508, allocations: 129.6 kB / 445.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.4511, allocations: 174.2 kB / 446.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.4511, allocations: 4 kB / 446.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.4512, allocations: 7.938 kB / 446.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.4512, allocations: 7.984 kB / 446.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.4522, allocations: 0.6175 MB / 446.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.4525, allocations: 155.9 kB / 446.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.4527, allocations: 73.98 kB / 447 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.4527, allocations: 7.953 kB / 447 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.453, allocations: 150.8 kB / 447.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.453, allocations: 0 / 447.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001461/0.4544, allocations: 0.8169 MB / 447.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.4545, allocations: 58.41 kB / 448 MB, free: 11.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.4547, allocations: 147.3 kB / 448.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.4547, allocations: 29.7 kB / 448.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.4548, allocations: 133.9 kB / 448.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.021e-05/0.4549, allocations: 89.16 kB / 448.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/0.4549, allocations: 0 / 448.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4551, allocations: 328.8 kB / 448.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.4552, allocations: 76.69 kB / 448.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.4554, allocations: 119.7 kB / 448.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.4556, allocations: 75.19 kB / 449 MB, free: 10.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4556, allocations: 0 / 449 MB, free: 10.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005518/0.4561, allocations: 291.8 kB / 449.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.4562, allocations: 37.69 kB / 449.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4562, allocations: 0 / 449.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/0.4564, allocations: 68.7 kB / 449.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.4567, allocations: 50.59 kB / 449.4 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005103/0.4572, allocations: 0.6161 MB / 450 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.4574, allocations: 40.02 kB / 450.1 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.4575, allocations: 10.73 kB / 450.1 MB, free: 9.664 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: oneWayClutch.sa:VARIABLE(unit = "1" protected = true ) "Path parameter of tau = f(a_rel) Friction characteristic" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free,$PRE.signalEngagement.T_start,signalEngagement.T_start,$PRE.signalEngagement.count,signalEngagement.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.4576, allocations: 121.1 kB / 450.2 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.4577, allocations: 26.78 kB / 450.2 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.4582, allocations: 259.3 kB / 450.5 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.4582, allocations: 7.953 kB / 450.5 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.4582, allocations: 4 kB / 450.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4582, allocations: 0 / 450.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008235/0.459, allocations: 0.5883 MB / 451.1 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.459, allocations: 3.938 kB / 451.1 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.4593, allocations: 51.38 kB / 451.1 MB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/0.4594, allocations: 63.58 kB / 451.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.4595, allocations: 4 kB / 451.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004342/0.4599, allocations: 0.6127 MB / 451.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4599, allocations: 0 / 451.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006358/0.4606, allocations: 448 kB / 452.2 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.4607, allocations: 112.6 kB / 452.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.4607, allocations: 7.859 kB / 452.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.461, allocations: 36.03 kB / 452.4 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4611, allocations: 35.31 kB / 452.4 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.4611, allocations: 11.8 kB / 452.4 MB, free: 7.488 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.031e-05/0.4612, allocations: 122.2 kB / 452.6 MB, free: 7.379 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4612, allocations: 4 kB / 452.6 MB, free: 7.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003385/0.4616, allocations: 71.75 kB / 452.6 MB, free: 7.309 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (inertiaOut.phi,inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel) * Number of discrete variables: 7 ($whenCondition1,oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,signalEngagement.T_start,signalEngagement.count) * Number of discrete states: 3 (signalEngagement.count,oneWayClutch.stuck,oneWayClutch.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002123/0.4618, allocations: 127.1 kB / 452.8 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005075/0.4623, allocations: 300.4 kB / 453 MB, free: 6.922 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4623, allocations: 0 / 453 MB, free: 6.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.4626, allocations: 122.6 kB / 453.2 MB, free: 6.836 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.4629, allocations: 44.09 kB / 453.2 MB, free: 6.797 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009034/0.4638, allocations: 490.2 kB / 453.7 MB, free: 6.324 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.4641, allocations: 0.7518 MB / 454.4 MB, free: 5.547 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.613e-05/0.4642, allocations: 18.08 kB / 454.5 MB, free: 5.531 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.4643, allocations: 22.31 kB / 454.5 MB, free: 5.512 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4643, allocations: 0 / 454.5 MB, free: 5.512 MB / 330.7 MB Notification: Performance of Templates: time 0.00643/0.4707, allocations: 3.142 MB / 457.6 MB, free: 2.383 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/OneWayClutch/OneWayClutch.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches