Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00241/0.00241, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.003016/0.003016, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.403e-05/3.596e-05, allocations: 2.312 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004549/0.004584, allocations: 2.34 MB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.00622, allocations: 0.8217 MB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.006327, allocations: 3.938 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.006579, allocations: 51.47 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.006872, allocations: 107.2 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.007103, allocations: 91.69 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.007474, allocations: 283.3 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.007618, allocations: 52.55 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003106/0.007929, allocations: 175.5 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.008149, allocations: 99.77 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.008199, allocations: 24 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.008362, allocations: 79.91 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.008449, allocations: 55.81 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.008566, allocations: 83.75 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.00904, allocations: 319 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.009042, allocations: 3.938 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.009043, allocations: 0 / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.009049, allocations: 0 / 276.7 MB, free: 13.24 MB / 266.7 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.0009454/0.009994, allocations: 0.5695 MB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.01003, allocations: 11.98 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.01022, allocations: 52.8 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.01056, allocations: 196.2 kB / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.0106, allocations: 16.75 kB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.01064, allocations: 16.38 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.01107, allocations: 224.6 kB / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.0111, allocations: 12.11 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.01112, allocations: 8.375 kB / 277.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.01113, allocations: 7.938 kB / 277.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003354/0.01147, allocations: 143.3 kB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.01278, allocations: 0.7744 MB / 278.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.01318, allocations: 143 kB / 278.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.01333, allocations: 67.84 kB / 279 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.01335, allocations: 4 kB / 279 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.01339, allocations: 37.39 kB / 279 MB, free: 10.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.01339, allocations: 0 / 279 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.002154/0.01554, allocations: 0.7586 MB / 279.8 MB, free: 10 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.0156, allocations: 59.28 kB / 279.8 MB, free: 9.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.01592, allocations: 275.1 kB / 280.1 MB, free: 9.645 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.01595, allocations: 37.64 kB / 280.1 MB, free: 9.602 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.0161, allocations: 195.1 kB / 280.3 MB, free: 9.406 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.904e-05/0.01618, allocations: 71.39 kB / 280.4 MB, free: 9.336 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.0163, allocations: 71.3 kB / 280.5 MB, free: 9.258 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002913/0.01659, allocations: 0.5079 MB / 281 MB, free: 8.738 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.01676, allocations: 67.97 kB / 281 MB, free: 8.672 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.01697, allocations: 122.7 kB / 281.1 MB, free: 8.535 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.0173, allocations: 174.6 kB / 281.3 MB, free: 8.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.0173, allocations: 4 kB / 281.3 MB, free: 8.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005543/0.01786, allocations: 265.1 kB / 281.6 MB, free: 8.074 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.01788, allocations: 4.062 kB / 281.6 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.01788, allocations: 8 kB / 281.6 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000243/0.01813, allocations: 75.55 kB / 281.7 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.01828, allocations: 35.98 kB / 281.7 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.02083, allocations: 2.282 MB / 284 MB, free: 5.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.021, allocations: 19.92 kB / 284 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.02102, allocations: 8 kB / 284 MB, free: 5.523 MB / 266.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 (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.0001794/0.0212, allocations: 188.5 kB / 284.2 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.02127, allocations: 19.91 kB / 284.2 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.136e-05/0.02134, allocations: 25.97 kB / 284.2 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.02134, allocations: 0 / 284.2 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.02134, allocations: 4 kB / 284.2 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.02135, allocations: 3.984 kB / 284.2 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.02238, allocations: 0.6059 MB / 284.9 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02238, allocations: 0 / 284.9 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.02255, allocations: 31.92 kB / 284.9 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001802/0.02273, allocations: 63.8 kB / 284.9 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.02276, allocations: 4 kB / 284.9 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/0.02521, allocations: 2.057 MB / 287 MB, free: 2.324 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.02521, allocations: 3.938 kB / 287 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008212/0.02604, allocations: 486.5 kB / 287.5 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.6e-05/0.02613, allocations: 31.88 kB / 287.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.02617, allocations: 8 kB / 287.5 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.02633, allocations: 16.02 kB / 287.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.02651, allocations: 67.89 kB / 287.6 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.02653, allocations: 7.938 kB / 287.6 MB, free: 1.688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.02672, allocations: 191 kB / 287.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02672, allocations: 0 / 287.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004211/0.02715, allocations: 75.92 kB / 287.9 MB, free: 1.426 MB / 266.7 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.002446/0.02959, allocations: 378.1 kB / 288.2 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007778/0.03037, allocations: 384.5 kB / 288.6 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.03037, allocations: 0 / 288.6 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.0308, allocations: 297.6 kB / 288.9 MB, free: 476 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.03124, allocations: 54.53 kB / 289 MB, free: 428 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.03259, allocations: 0.5915 MB / 289.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.03276, allocations: 142 kB / 289.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.39e-05/0.03285, allocations: 21.94 kB / 289.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.03292, allocations: 24.48 kB / 289.7 MB, free: 15.58 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03292, allocations: 0 / 289.7 MB, free: 15.58 MB / 282.7 MB Notification: Performance of Templates: time 0.009882/0.0428, allocations: 3.821 MB / 293.6 MB, free: 11.8 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.647153884987347]