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.0007766/0.0007766, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003308/0.003308, allocations: 156 kB / 24.7 MB, free: 9.434 MB / 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 0.8596/0.8596, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.573e-06/1.573e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.071e-05, allocations: 3.266 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.002273/0.002294, allocations: 2.245 MB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.003346, allocations: 0.8101 MB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/0.00343, allocations: 3.938 kB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.003633, allocations: 55.52 kB / 328.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.003825, allocations: 111.1 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.003966, allocations: 83.88 kB / 329.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.00418, allocations: 291.2 kB / 329.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.004294, allocations: 48.52 kB / 329.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.004476, allocations: 171.6 kB / 329.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.004609, allocations: 103.7 kB / 329.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.004635, allocations: 20 kB / 329.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.526e-05/0.00473, allocations: 79.91 kB / 329.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.116e-05/0.004781, allocations: 51.77 kB / 329.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.484e-05/0.004836, allocations: 87.8 kB / 329.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.005114, allocations: 315 kB / 330.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005117, allocations: 8 kB / 330.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005118, allocations: 0 / 330.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.005122, allocations: 0 / 330.2 MB, free: 10.91 MB / 298.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.0005285/0.005651, allocations: 473.3 kB / 330.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.005681, allocations: 11.98 kB / 330.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.005782, allocations: 32.8 kB / 330.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.006012, allocations: 201.3 kB / 330.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.00603, allocations: 12.75 kB / 330.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.00606, allocations: 24.31 kB / 331 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.006298, allocations: 218.9 kB / 331.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.006311, allocations: 4.141 kB / 331.2 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.006326, allocations: 4.375 kB / 331.2 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.006332, allocations: 7.938 kB / 331.2 MB, free: 9.871 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.006525, allocations: 155.3 kB / 331.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.007171, allocations: 0.6241 MB / 332 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.007414, allocations: 138.5 kB / 332.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.037e-05/0.007494, allocations: 69.02 kB / 332.2 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.00751, allocations: 11.94 kB / 332.2 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.007523, allocations: 30.56 kB / 332.2 MB, free: 8.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.172e-06/0.007525, allocations: 0 / 332.2 MB, free: 8.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001037/0.008562, allocations: 0.7603 MB / 333 MB, free: 7.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.008589, allocations: 59.34 kB / 333 MB, free: 7.906 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.008725, allocations: 215.3 kB / 333.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.008739, allocations: 29.7 kB / 333.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.008801, allocations: 144.4 kB / 333.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.008839, allocations: 79.38 kB / 333.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.008896, allocations: 53.69 kB / 333.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.008976, allocations: 326.8 kB / 333.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-05/0.00907, allocations: 75.95 kB / 333.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.009172, allocations: 103.4 kB / 334 MB, free: 6.855 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.009341, allocations: 159.3 kB / 334.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.009342, allocations: 0 / 334.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002786/0.009621, allocations: 262.2 kB / 334.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.009634, allocations: 11.98 kB / 334.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.009639, allocations: 0 / 334.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/0.009775, allocations: 56.78 kB / 334.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.009854, allocations: 43.91 kB / 334.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.01115, allocations: 1.673 MB / 336.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.922e-05/0.01124, allocations: 27.94 kB / 336.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.01125, allocations: 8 kB / 336.3 MB, free: 4.5 MB / 298.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 8.581e-05/0.01133, allocations: 141.1 kB / 336.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.01136, allocations: 15.91 kB / 336.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.01139, allocations: 29.89 kB / 336.4 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01139, allocations: 8.062 kB / 336.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.01139, allocations: 48 / 336.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01139, allocations: 3.984 kB / 336.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.01188, allocations: 0.5195 MB / 337 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01188, allocations: 4.062 kB / 337 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-05/0.01197, allocations: 35.98 kB / 337 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.85e-05/0.01205, allocations: 56.88 kB / 337.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.01207, allocations: 8 kB / 337.1 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008397/0.01291, allocations: 1.511 MB / 338.6 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01291, allocations: 11.91 kB / 338.6 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.01328, allocations: 421.3 kB / 339 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.01333, allocations: 31.92 kB / 339 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.01334, allocations: 8 kB / 339 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.01343, allocations: 19.97 kB / 339.1 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.504e-05/0.01352, allocations: 67.89 kB / 339.1 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.01353, allocations: 4 kB / 339.1 MB, free: 1.434 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.023e-05/0.01361, allocations: 151.2 kB / 339.3 MB, free: 1.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01361, allocations: 0 / 339.3 MB, free: 1.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002449/0.01386, allocations: 71.94 kB / 339.4 MB, free: 1.215 MB / 298.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.0005446/0.0144, allocations: 387.6 kB / 339.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003655/0.01477, allocations: 314.4 kB / 340 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01477, allocations: 0 / 340 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.01494, allocations: 218.5 kB / 340.3 MB, free: 416 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.01518, allocations: 50.17 kB / 340.3 MB, free: 368 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007325/0.01591, allocations: 0.6193 MB / 340.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.069e-05/0.01599, allocations: 138.1 kB / 341.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.01604, allocations: 32.48 kB / 341.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01604, allocations: 4 kB / 341.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of Templates: time 0.003925/0.01997, allocations: 4.066 MB / 345.2 MB, free: 11.45 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] 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.472793892025948]