Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 258.3 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 68.75 kB / 379 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2596, allocations: 53.36 MB / 432.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004182/0.2638, allocations: 2.365 MB / 434.8 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.2653, allocations: 0.8685 MB / 435.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2654, allocations: 7.938 kB / 435.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.2657, allocations: 47.59 kB / 435.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.266, allocations: 107.3 kB / 435.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.2662, allocations: 87.77 kB / 435.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.2666, allocations: 275.4 kB / 436.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.2667, allocations: 44.53 kB / 436.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.267, allocations: 127.5 kB / 436.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.2672, allocations: 127.5 kB / 436.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.2673, allocations: 20 kB / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.2674, allocations: 83.95 kB / 436.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.2675, allocations: 55.84 kB / 436.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.2676, allocations: 119.3 kB / 436.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.2681, allocations: 312.5 kB / 437 MB, free: 2.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2681, allocations: 0 / 437 MB, free: 2.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2681, allocations: 0 / 437 MB, free: 2.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.2681, allocations: 0 / 437 MB, free: 2.332 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008472/0.269, allocations: 485.2 kB / 437.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.269, allocations: 12.03 kB / 437.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.2692, allocations: 36.78 kB / 437.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.2695, allocations: 194.8 kB / 437.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.2695, allocations: 12.75 kB / 437.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/0.2696, allocations: 28.27 kB / 437.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.27, allocations: 222.7 kB / 438 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.27, allocations: 3.938 kB / 438 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.27, allocations: 12 kB / 438 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.27, allocations: 8 kB / 438 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.2704, allocations: 151.3 kB / 438.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.2715, allocations: 0.7169 MB / 438.9 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.2719, allocations: 138.5 kB / 439 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.2721, allocations: 69.02 kB / 439.1 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.2721, allocations: 0 / 439.1 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.2721, allocations: 34.91 kB / 439.1 MB, free: 96 kB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.052e-06/0.2721, allocations: 0 / 439.1 MB, free: 96 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001903/0.274, allocations: 0.769 MB / 439.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.2741, allocations: 59.34 kB / 439.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.2744, allocations: 218.8 kB / 440.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.2744, allocations: 33.7 kB / 440.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.657e-05/0.2745, allocations: 136.5 kB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.2746, allocations: 75.36 kB / 440.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.2746, allocations: 53.7 kB / 440.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2748, allocations: 330.8 kB / 440.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.275, allocations: 71.97 kB / 440.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.2751, allocations: 107.4 kB / 440.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.2755, allocations: 151.3 kB / 441.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2755, allocations: 0 / 441.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006405/0.2761, allocations: 274.2 kB / 441.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2761, allocations: 4 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2761, allocations: 0 / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/0.2764, allocations: 56.88 kB / 441.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.2766, allocations: 43.91 kB / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.2786, allocations: 1.715 MB / 443.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.2788, allocations: 24 kB / 443.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.2788, allocations: 12 kB / 443.2 MB, free: 11.74 MB / 350.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 (25): * Single equations (assignments): 24 * 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 0.0001758/0.279, allocations: 134 kB / 443.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.2791, allocations: 19.84 kB / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.708e-05/0.2791, allocations: 38.02 kB / 443.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2791, allocations: 3.938 kB / 443.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2791, allocations: 3.938 kB / 443.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2791, allocations: 0 / 443.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.2801, allocations: 0.577 MB / 444 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2801, allocations: 0 / 444 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.2803, allocations: 44.03 kB / 444 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001746/0.2805, allocations: 56.75 kB / 444.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/0.2806, allocations: 8 kB / 444.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.2824, allocations: 1.557 MB / 445.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2824, allocations: 64 / 445.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.2831, allocations: 430.3 kB / 446.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.503e-05/0.2832, allocations: 35.95 kB / 446.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.2832, allocations: 8 kB / 446.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.2834, allocations: 23.92 kB / 446.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.2836, allocations: 79.86 kB / 446.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.2836, allocations: 4 kB / 446.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002032/0.2838, allocations: 156.6 kB / 446.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2838, allocations: 0 / 446.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004266/0.2842, allocations: 75.92 kB / 446.4 MB, free: 8.297 MB / 350.1 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 (15): * Single equations (assignments): 14 * 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.00139/0.2856, allocations: 367.2 kB / 446.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007377/0.2864, allocations: 302.4 kB / 447.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2864, allocations: 0 / 447.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.2867, allocations: 230.5 kB / 447.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.2872, allocations: 43.84 kB / 447.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.2886, allocations: 0.6965 MB / 448.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.289, allocations: 0.7441 MB / 448.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.689e-05/0.2891, allocations: 21.94 kB / 448.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.2892, allocations: 23.42 kB / 448.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of SimCode: time 5.72e-07/0.2892, allocations: 4 kB / 448.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of Templates: time 0.00966/0.2988, allocations: 4.165 MB / 453 MB, free: 1.793 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.742260407656431]