Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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.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_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002212/0.002217, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.297e-05, allocations: 8 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.09675, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4061/0.5029, allocations: 78.14 MB / 447.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.5032, allocations: 75.7 kB / 447.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01855/0.5218, allocations: 3.949 MB / 451.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5219, allocations: 0 / 451.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.5219, allocations: 8 kB / 451.3 MB, free: 11.7 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0009258/0.5228, allocations: 475.7 kB / 451.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.5229, allocations: 8.031 kB / 451.7 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.647e-05/0.523, allocations: 23.72 kB / 451.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.5233, allocations: 226.9 kB / 452 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.5234, allocations: 23.62 kB / 452 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.5235, allocations: 23.19 kB / 452 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.524, allocations: 207.9 kB / 452.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.5241, allocations: 3.438 kB / 452.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.5241, allocations: 3.5 kB / 452.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.5242, allocations: 8 kB / 452.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.5246, allocations: 139.7 kB / 452.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.5265, allocations: 0.781 MB / 453.2 MB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/0.527, allocations: 150.1 kB / 453.3 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.5272, allocations: 64.42 kB / 453.4 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.5273, allocations: 0 / 453.4 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.5273, allocations: 38.55 kB / 453.4 MB, free: 9.688 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.675e-06/0.5273, allocations: 0 / 453.4 MB, free: 9.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.002075/0.5294, allocations: 0.8202 MB / 454.2 MB, free: 8.895 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.5295, allocations: 55.41 kB / 454.3 MB, free: 8.828 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.5298, allocations: 169.3 kB / 454.4 MB, free: 8.676 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.5298, allocations: 28.89 kB / 454.5 MB, free: 8.645 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.53, allocations: 202.4 kB / 454.7 MB, free: 8.461 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.001e-05/0.5301, allocations: 72.47 kB / 454.7 MB, free: 8.398 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.5301, allocations: 11.19 kB / 454.7 MB, free: 8.391 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5302, allocations: 329.9 kB / 455.1 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.5304, allocations: 69.03 kB / 455.1 MB, free: 8.023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.5307, allocations: 103.5 kB / 455.2 MB, free: 7.934 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.5309, allocations: 72.19 kB / 455.3 MB, free: 7.887 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5309, allocations: 0 / 455.3 MB, free: 7.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006856/0.5316, allocations: 259.7 kB / 455.6 MB, free: 7.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.5317, allocations: 4 kB / 455.6 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.5317, allocations: 0 / 455.6 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/0.532, allocations: 67.39 kB / 455.6 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.5323, allocations: 43.28 kB / 455.7 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006391/0.533, allocations: 0.6058 MB / 456.3 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.5334, allocations: 31.86 kB / 456.3 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.5334, allocations: 8 kB / 456.3 MB, free: 6.961 MB / 330.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 0.0001286/0.5335, allocations: 120.5 kB / 456.4 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.731e-05/0.5336, allocations: 27.7 kB / 456.5 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007844/0.5344, allocations: 251.2 kB / 456.7 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5344, allocations: 0 / 456.7 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5345, allocations: 4 kB / 456.7 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.5345, allocations: 0 / 456.7 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.5357, allocations: 0.6004 MB / 457.3 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.5357, allocations: 0 / 457.3 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.5361, allocations: 39.92 kB / 457.4 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002671/0.5363, allocations: 64.5 kB / 457.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.5364, allocations: 7.938 kB / 457.4 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005811/0.537, allocations: 0.6098 MB / 458 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.537, allocations: 0 / 458 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.5378, allocations: 446.1 kB / 458.5 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.538, allocations: 108.8 kB / 458.6 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/0.5381, allocations: 7.812 kB / 458.6 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.5384, allocations: 27.97 kB / 458.6 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.5385, allocations: 31.59 kB / 458.6 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.5386, allocations: 7.875 kB / 458.6 MB, free: 4.781 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001777/0.5388, allocations: 142.5 kB / 458.8 MB, free: 4.656 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5388, allocations: 0 / 458.8 MB, free: 4.656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004854/0.5393, allocations: 71.61 kB / 458.9 MB, free: 4.594 MB / 330.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.0002819/0.5396, allocations: 131.1 kB / 459 MB, free: 4.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006649/0.5403, allocations: 215.5 kB / 459.2 MB, free: 4.293 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5403, allocations: 0 / 459.2 MB, free: 4.293 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.5406, allocations: 95.22 kB / 459.3 MB, free: 4.223 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.5411, allocations: 35.69 kB / 459.3 MB, free: 4.195 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.5428, allocations: 0.5909 MB / 459.9 MB, free: 3.598 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.5432, allocations: 0.748 MB / 460.7 MB, free: 2.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/0.5433, allocations: 19.44 kB / 460.7 MB, free: 2.801 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5433, allocations: 0 / 460.7 MB, free: 2.801 MB / 330.7 MB Notification: Performance of Templates: time 0.008332/0.5516, allocations: 3.374 MB / 464.1 MB, free: 15.45 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches