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.00186/0.00186, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.0022/0.0022, allocations: 207 kB / 24.48 MB, free: 4.035 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.443/1.443, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.001967/0.001967, allocations: 63.84 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2154, allocations: 53.32 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003912/0.2193, allocations: 2.353 MB / 434.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.2207, allocations: 0.8724 MB / 435.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.894e-05/0.2208, allocations: 4 kB / 435.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.221, allocations: 47.58 kB / 435.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.2213, allocations: 111.2 kB / 435.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.2215, allocations: 83.83 kB / 435.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.2218, allocations: 279.4 kB / 435.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.222, allocations: 48.33 kB / 435.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.2222, allocations: 123.5 kB / 436 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.2224, allocations: 123.5 kB / 436.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.2224, allocations: 24 kB / 436.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.2226, allocations: 79.97 kB / 436.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-05/0.2227, allocations: 51.78 kB / 436.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.2228, allocations: 123.4 kB / 436.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.2232, allocations: 312.7 kB / 436.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2232, allocations: 4 kB / 436.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2232, allocations: 4 kB / 436.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2232, allocations: 0 / 436.7 MB, free: 2.77 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.0008808/0.2241, allocations: 0.5375 MB / 437.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2241, allocations: 8.031 kB / 437.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.2243, allocations: 36.78 kB / 437.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.2247, allocations: 256.4 kB / 437.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.2247, allocations: 16.75 kB / 437.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.2247, allocations: 20.33 kB / 437.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.2251, allocations: 215 kB / 437.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.2252, allocations: 7.984 kB / 437.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.2252, allocations: 11.94 kB / 437.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.2252, allocations: 4 kB / 437.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.2255, allocations: 159 kB / 437.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.2267, allocations: 0.7742 MB / 438.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.2271, allocations: 138.5 kB / 438.8 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.2272, allocations: 73.02 kB / 438.9 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.2272, allocations: 0 / 438.9 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.2273, allocations: 34.84 kB / 438.9 MB, free: 316 kB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.072e-06/0.2273, allocations: 4 kB / 438.9 MB, free: 312 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.002/0.2293, allocations: 0.9954 MB / 439.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.2293, allocations: 51.41 kB / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.2296, allocations: 222.8 kB / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.2296, allocations: 33.7 kB / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.652e-05/0.2297, allocations: 136.4 kB / 440.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.883e-05/0.2298, allocations: 83.36 kB / 440.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.467e-05/0.2298, allocations: 45.7 kB / 440.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.23, allocations: 334.8 kB / 440.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.2302, allocations: 71.97 kB / 440.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.2304, allocations: 111.4 kB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.2307, allocations: 156 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2307, allocations: 0 / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005228/0.2312, allocations: 274 kB / 441.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2312, allocations: 8.062 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2312, allocations: 8 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001963/0.2314, allocations: 52.84 kB / 441.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.2316, allocations: 39.97 kB / 441.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.2336, allocations: 1.815 MB / 443.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.2338, allocations: 28.03 kB / 443.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.2338, allocations: 11.94 kB / 443.4 MB, free: 11.53 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.0001434/0.234, allocations: 132.7 kB / 443.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.234, allocations: 15.91 kB / 443.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.196e-05/0.2341, allocations: 37.8 kB / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2341, allocations: 0 / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2341, allocations: 3.938 kB / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.2342, allocations: 116.9 kB / 443.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.2342, allocations: 8 kB / 443.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.2344, allocations: 15.98 kB / 443.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.2345, allocations: 23.95 kB / 443.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007671/0.2353, allocations: 332 kB / 444 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006283/0.2359, allocations: 442.4 kB / 444.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001481/0.2361, allocations: 62.78 kB / 444.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.2362, allocations: 160.6 kB / 444.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Backend: time 2.31e-07/0.2362, allocations: 0 / 444.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002608/0.2388, allocations: 0.7395 MB / 445.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of SimCode: time 0.001322/0.2401, allocations: 1.121 MB / 446.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of Templates: time 0.008845/0.249, allocations: 4.258 MB / 450.8 MB, free: 4.23 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.304015526082367]