Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 108.8 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 43.92 kB / 371.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2427, allocations: 52.2 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003442/0.2462, allocations: 2.242 MB / 426.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.2473, allocations: 0.6934 MB / 426.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.892e-05/0.2474, allocations: 4 kB / 426.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.2476, allocations: 35.66 kB / 426.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.2478, allocations: 67.47 kB / 426.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.2481, allocations: 107.8 kB / 427 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.2484, allocations: 259.4 kB / 427.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.2485, allocations: 44.56 kB / 427.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.2487, allocations: 111.6 kB / 427.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.2489, allocations: 119.5 kB / 427.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.2489, allocations: 16 kB / 427.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.2491, allocations: 75.94 kB / 427.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.697e-05/0.2492, allocations: 55.83 kB / 427.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.2493, allocations: 107.5 kB / 427.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.2496, allocations: 288 kB / 428.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2496, allocations: 0 / 428.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2496, allocations: 0 / 428.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2496, allocations: 0 / 428.1 MB, free: 10.46 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.000791/0.2504, allocations: 449.6 kB / 428.5 MB, free: 9.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.2505, allocations: 12.03 kB / 428.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.2505, allocations: 24.8 kB / 428.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.2508, allocations: 186.1 kB / 428.7 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.2508, allocations: 16.8 kB / 428.7 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/0.2509, allocations: 20.38 kB / 428.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.2513, allocations: 226 kB / 429 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.2513, allocations: 7.922 kB / 429 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.2513, allocations: 8 kB / 429 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.2514, allocations: 12 kB / 429 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.2517, allocations: 157 kB / 429.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.2528, allocations: 0.7188 MB / 429.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.2532, allocations: 126.5 kB / 430 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.2533, allocations: 72.11 kB / 430.1 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.2533, allocations: 4 kB / 430.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.2533, allocations: 30.56 kB / 430.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.2533, allocations: 0 / 430.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001741/0.2551, allocations: 0.7578 MB / 430.9 MB, free: 7.469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.2551, allocations: 55.41 kB / 430.9 MB, free: 7.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.2553, allocations: 209.1 kB / 431.1 MB, free: 7.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.2554, allocations: 29.7 kB / 431.2 MB, free: 7.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.624e-05/0.2555, allocations: 148.4 kB / 431.3 MB, free: 7.008 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.45e-05/0.2555, allocations: 75.38 kB / 431.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/0.2556, allocations: 49.7 kB / 431.4 MB, free: 6.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2558, allocations: 334.8 kB / 431.8 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.2559, allocations: 75.97 kB / 431.8 MB, free: 6.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.2561, allocations: 123.5 kB / 432 MB, free: 6.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.2564, allocations: 177.8 kB / 432.1 MB, free: 6.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2564, allocations: 4 kB / 432.1 MB, free: 6.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005592/0.257, allocations: 284.7 kB / 432.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.257, allocations: 5.406 kB / 432.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.257, allocations: 3.984 kB / 432.4 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.2572, allocations: 72.81 kB / 432.5 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.2574, allocations: 39.92 kB / 432.5 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005254/0.2579, allocations: 0.6226 MB / 433.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.2581, allocations: 20.02 kB / 433.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.2581, allocations: 12 kB / 433.2 MB, free: 5.059 MB / 334.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 (26): * Single equations (assignments): 25 * 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.000128/0.2582, allocations: 137.8 kB / 433.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.2583, allocations: 15.91 kB / 433.3 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.618e-05/0.2583, allocations: 21.81 kB / 433.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.2583, allocations: 7.938 kB / 433.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2584, allocations: 4.062 kB / 433.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2584, allocations: 3.984 kB / 433.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008691/0.2592, allocations: 0.5689 MB / 433.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2592, allocations: 0 / 433.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.2594, allocations: 35.86 kB / 434 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001729/0.2596, allocations: 72.88 kB / 434 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.2596, allocations: 4 kB / 434 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004905/0.2601, allocations: 0.6187 MB / 434.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2601, allocations: 0 / 434.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.2607, allocations: 417.8 kB / 435.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.2608, allocations: 31.92 kB / 435.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.2608, allocations: 0 / 435.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.261, allocations: 19.98 kB / 435.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/0.2611, allocations: 31.89 kB / 435.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.2611, allocations: 7.984 kB / 435.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.2612, allocations: 155.3 kB / 435.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2612, allocations: 0 / 435.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000346/0.2616, allocations: 67.88 kB / 435.4 MB, free: 2.738 MB / 334.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 (14): * Single equations (assignments): 13 * 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.0002028/0.2618, allocations: 119.2 kB / 435.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004899/0.2623, allocations: 195.6 kB / 435.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2623, allocations: 0 / 435.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.2625, allocations: 99.88 kB / 435.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.2629, allocations: 40.3 kB / 435.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.2642, allocations: 0.6943 MB / 436.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.2646, allocations: 0.7402 MB / 437.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.2646, allocations: 23.42 kB / 437.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2646, allocations: 0 / 437.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of Templates: time 0.005842/0.2705, allocations: 3.481 MB / 440.8 MB, free: 13.29 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.192124061053619]