Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 208.4 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 258.2 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 48.06 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2379, allocations: 53.36 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004311/0.2422, allocations: 2.244 MB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.2437, allocations: 0.8101 MB / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.2438, allocations: 4 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.2441, allocations: 51.58 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.2444, allocations: 107.2 kB / 435.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.2446, allocations: 87.83 kB / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.2449, allocations: 279.4 kB / 435.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.2451, allocations: 47.47 kB / 435.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.2453, allocations: 119.6 kB / 436.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.2455, allocations: 119.5 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.2456, allocations: 24 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.2458, allocations: 83.95 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.487e-05/0.2458, allocations: 47.84 kB / 436.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.246, allocations: 99.52 kB / 436.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.2464, allocations: 322.4 kB / 436.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2464, allocations: 0 / 436.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2464, allocations: 0 / 436.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.2464, allocations: 0 / 436.7 MB, free: 2.27 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.0008884/0.2473, allocations: 481.2 kB / 437.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2473, allocations: 12.03 kB / 437.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.2475, allocations: 32.78 kB / 437.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.2479, allocations: 198.9 kB / 437.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.248, allocations: 12.75 kB / 437.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.248, allocations: 24.33 kB / 437.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.2484, allocations: 218.7 kB / 437.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.2484, allocations: 4 kB / 437.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.2485, allocations: 4 kB / 437.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.2485, allocations: 8 kB / 437.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003488/0.2488, allocations: 151.3 kB / 437.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.25, allocations: 0.6395 MB / 438.5 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.2504, allocations: 134.7 kB / 438.6 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.2506, allocations: 68.83 kB / 438.7 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.2506, allocations: 0 / 438.7 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.2506, allocations: 34.56 kB / 438.7 MB, free: 148 kB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 3.015e-06/0.2506, allocations: 7.984 kB / 438.7 MB, free: 140 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.002033/0.2527, allocations: 0.7643 MB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.2527, allocations: 59.39 kB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.253, allocations: 192.2 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.253, allocations: 33.7 kB / 439.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.2531, allocations: 140.4 kB / 439.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.321e-05/0.2532, allocations: 79.36 kB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.175e-05/0.2533, allocations: 49.7 kB / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.2535, allocations: 330.8 kB / 440.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.2536, allocations: 75.84 kB / 440.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.2538, allocations: 107.4 kB / 440.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.2542, allocations: 159.3 kB / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2542, allocations: 0 / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005328/0.2547, allocations: 258.3 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2547, allocations: 7.938 kB / 441 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2547, allocations: 4 kB / 441 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002298/0.2549, allocations: 52.83 kB / 441 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2551, allocations: 51.92 kB / 441.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.2572, allocations: 1.677 MB / 442.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.2575, allocations: 24.02 kB / 442.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.2575, allocations: 16.06 kB / 442.8 MB, free: 11.86 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.0001766/0.2577, allocations: 142 kB / 442.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.2577, allocations: 19.89 kB / 442.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.459e-05/0.2578, allocations: 25.97 kB / 443 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.2578, allocations: 7.938 kB / 443 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2578, allocations: 0 / 443 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2578, allocations: 3.984 kB / 443 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009159/0.2587, allocations: 0.5163 MB / 443.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2587, allocations: 0 / 443.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.2589, allocations: 35.97 kB / 443.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001682/0.2591, allocations: 52.83 kB / 443.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.2591, allocations: 8 kB / 443.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.2608, allocations: 1.526 MB / 445.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2608, allocations: 4.031 kB / 445.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007433/0.2616, allocations: 432.1 kB / 445.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.2617, allocations: 31.88 kB / 445.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.2617, allocations: 8 kB / 445.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.2619, allocations: 15.98 kB / 445.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.2621, allocations: 71.94 kB / 445.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.2621, allocations: 8 kB / 445.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.2623, allocations: 151.3 kB / 445.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2623, allocations: 0 / 445.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004426/0.2627, allocations: 64 kB / 445.9 MB, free: 8.566 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.001549/0.2643, allocations: 396.2 kB / 446.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007382/0.265, allocations: 306.4 kB / 446.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.265, allocations: 0 / 446.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.2654, allocations: 222.7 kB / 446.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.2659, allocations: 45.53 kB / 446.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.2676, allocations: 0.7325 MB / 447.6 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.2679, allocations: 134.2 kB / 447.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.268, allocations: 19.44 kB / 447.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of SimCode: time 1.313e-06/0.268, allocations: 4 kB / 447.7 MB, free: 6.793 MB / 350.1 MB Notification: Performance of Templates: time 0.008553/0.2765, allocations: 4.061 MB / 451.8 MB, free: 2.738 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.857060426846147]