Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.3 MB / 235.5 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 97.72 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.944e-05, allocations: 7.984 kB / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 50.41 MB / 394.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3363/0.4455, allocations: 79.03 MB / 473.3 MB, free: 8.516 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.4458, allocations: 71.78 kB / 473.3 MB, free: 8.449 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01169/0.4575, allocations: 4.033 MB / 477.4 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4576, allocations: 0 / 477.4 MB, free: 4.418 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.4576, allocations: 4 kB / 477.4 MB, free: 4.414 MB / 346.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.0006439/0.4582, allocations: 486.9 kB / 477.8 MB, free: 3.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4583, allocations: 12.03 kB / 477.9 MB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.4584, allocations: 23.72 kB / 477.9 MB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.4586, allocations: 218.7 kB / 478.1 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.4587, allocations: 20.38 kB / 478.1 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.4587, allocations: 24 kB / 478.1 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.4591, allocations: 201.8 kB / 478.3 MB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.4591, allocations: 3.984 kB / 478.3 MB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.4592, allocations: 19.89 kB / 478.4 MB, free: 3.328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.4592, allocations: 4 kB / 478.4 MB, free: 3.324 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.4594, allocations: 137 kB / 478.5 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.4607, allocations: 0.7838 MB / 479.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.461, allocations: 138.5 kB / 479.4 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.4611, allocations: 68.86 kB / 479.5 MB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.4612, allocations: 4 kB / 479.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.4612, allocations: 34.5 kB / 479.5 MB, free: 2.074 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.4612, allocations: 0 / 479.5 MB, free: 2.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001349/0.4626, allocations: 0.8196 MB / 480.3 MB, free: 1.168 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.4626, allocations: 55.39 kB / 480.4 MB, free: 1.102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.4628, allocations: 169.6 kB / 480.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.4628, allocations: 29.7 kB / 480.6 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.4629, allocations: 132.3 kB / 480.7 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.463, allocations: 74.91 kB / 480.8 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.463, allocations: 4 kB / 480.8 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4631, allocations: 334.8 kB / 481.1 MB, free: 356 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.4633, allocations: 64 kB / 481.2 MB, free: 292 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.4634, allocations: 99.66 kB / 481.3 MB, free: 176 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.4636, allocations: 61.14 kB / 481.3 MB, free: 116 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4636, allocations: 4 kB / 481.3 MB, free: 112 kB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004395/0.464, allocations: 272.8 kB / 481.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.464, allocations: 9.031 kB / 481.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.4641, allocations: 4 kB / 481.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.4643, allocations: 64.81 kB / 481.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.4645, allocations: 43.91 kB / 481.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004733/0.465, allocations: 0.5993 MB / 482.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.4652, allocations: 28.02 kB / 482.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.4652, allocations: 15.94 kB / 482.4 MB, free: 15.05 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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 9.349e-05/0.4653, allocations: 124.9 kB / 482.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.4653, allocations: 27.77 kB / 482.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.4658, allocations: 244.8 kB / 482.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4659, allocations: 7.953 kB / 482.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4659, allocations: 0 / 482.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.4659, allocations: 0 / 482.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007608/0.4667, allocations: 0.6082 MB / 483.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4667, allocations: 4 kB / 483.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.4668, allocations: 31.98 kB / 483.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001586/0.467, allocations: 60.83 kB / 483.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.467, allocations: 16.02 kB / 483.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004069/0.4675, allocations: 0.6069 MB / 484.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4675, allocations: 4.031 kB / 484.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005192/0.468, allocations: 443.3 kB / 484.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.683e-05/0.4681, allocations: 112.9 kB / 484.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.4681, allocations: 3.953 kB / 484.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.4683, allocations: 35.97 kB / 484.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.4684, allocations: 23.95 kB / 484.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.4685, allocations: 8 kB / 484.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.4686, allocations: 140.2 kB / 484.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4686, allocations: 0 / 484.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003216/0.4689, allocations: 60 kB / 484.9 MB, free: 12.33 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0002029/0.4691, allocations: 128.1 kB / 485 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004293/0.4696, allocations: 213.4 kB / 485.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4696, allocations: 7.938 kB / 485.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.4698, allocations: 97.58 kB / 485.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.4701, allocations: 24.3 kB / 485.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.4711, allocations: 0.5681 MB / 485.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.4714, allocations: 0.748 MB / 486.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.873e-05/0.4715, allocations: 14.08 kB / 486.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.4715, allocations: 23.38 kB / 486.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4715, allocations: 0 / 486.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of Templates: time 0.005729/0.4773, allocations: 2.767 MB / 489.5 MB, free: 7.699 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches