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.001359/0.001359, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.00145/0.00145, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.404/1.404, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.001517/0.001517, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2361, allocations: 52.13 MB / 420.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003502/0.2396, allocations: 2.257 MB / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2409, allocations: 0.6972 MB / 423.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.241, allocations: 4 kB / 423.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.2412, allocations: 31.66 kB / 423.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.2414, allocations: 75.41 kB / 423.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.2417, allocations: 103.8 kB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.242, allocations: 259.4 kB / 424.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.2422, allocations: 52.36 kB / 424.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.2423, allocations: 99.64 kB / 424.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.2425, allocations: 123.5 kB / 424.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/0.2426, allocations: 20 kB / 424.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.2427, allocations: 67.95 kB / 424.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.605e-05/0.2428, allocations: 51.81 kB / 424.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.2429, allocations: 115.4 kB / 424.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003846/0.2433, allocations: 280.1 kB / 425.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2433, allocations: 0 / 425.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2433, allocations: 0 / 425.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.2433, allocations: 0 / 425.1 MB, free: 10.91 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.0008813/0.2442, allocations: 0.5183 MB / 425.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2443, allocations: 8.031 kB / 425.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.2443, allocations: 24.8 kB / 425.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.2447, allocations: 247.9 kB / 425.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.2447, allocations: 12.81 kB / 425.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.2447, allocations: 24.36 kB / 425.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.2452, allocations: 222 kB / 426.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2452, allocations: 4 kB / 426.1 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.2452, allocations: 8 kB / 426.1 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2452, allocations: 4 kB / 426.1 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.2456, allocations: 169 kB / 426.3 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.2468, allocations: 0.7722 MB / 427 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.2472, allocations: 126.5 kB / 427.2 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.2473, allocations: 76.27 kB / 427.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.2473, allocations: 0 / 427.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.2474, allocations: 34.56 kB / 427.3 MB, free: 8.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.022e-06/0.2474, allocations: 0 / 427.3 MB, free: 8.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.00192/0.2493, allocations: 0.9824 MB / 428.3 MB, free: 7.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.2493, allocations: 51.41 kB / 428.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.2496, allocations: 211.9 kB / 428.5 MB, free: 7.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.2496, allocations: 33.7 kB / 428.6 MB, free: 7.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.2497, allocations: 148.2 kB / 428.7 MB, free: 6.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.916e-05/0.2498, allocations: 83.3 kB / 428.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.2498, allocations: 49.7 kB / 428.8 MB, free: 6.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.25, allocations: 334.8 kB / 429.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.2502, allocations: 79.97 kB / 429.2 MB, free: 6.379 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.2504, allocations: 120.1 kB / 429.4 MB, free: 6.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.2507, allocations: 174.1 kB / 429.5 MB, free: 6.066 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2507, allocations: 0 / 429.5 MB, free: 6.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005165/0.2512, allocations: 284.6 kB / 429.8 MB, free: 5.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2512, allocations: 6.406 kB / 429.8 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.2512, allocations: 12 kB / 429.8 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/0.2515, allocations: 68.81 kB / 429.9 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.2516, allocations: 39.92 kB / 429.9 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005676/0.2522, allocations: 0.6225 MB / 430.5 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.2524, allocations: 24.08 kB / 430.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.2524, allocations: 15.98 kB / 430.6 MB, free: 4.969 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.0001444/0.2526, allocations: 133 kB / 430.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.2526, allocations: 15.91 kB / 430.7 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.26e-05/0.2527, allocations: 21.88 kB / 430.8 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.2527, allocations: 11.97 kB / 430.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2527, allocations: 3.984 kB / 430.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.2527, allocations: 0 / 430.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009405/0.2536, allocations: 0.5983 MB / 431.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2536, allocations: 0 / 431.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.2538, allocations: 31.92 kB / 431.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/0.254, allocations: 72.88 kB / 431.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.254, allocations: 4 kB / 431.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005365/0.2545, allocations: 0.6148 MB / 432.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2545, allocations: 0 / 432.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006655/0.2552, allocations: 417.8 kB / 432.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.2553, allocations: 105 kB / 432.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.2554, allocations: 8 kB / 432.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.2555, allocations: 23.91 kB / 432.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.2556, allocations: 27.97 kB / 432.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.2556, allocations: 4 kB / 432.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.2558, allocations: 152.5 kB / 432.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2558, allocations: 0 / 432.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003494/0.2561, allocations: 71.88 kB / 432.9 MB, free: 2.527 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.0001981/0.2563, allocations: 119.2 kB / 433 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005189/0.2568, allocations: 203.6 kB / 433.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2568, allocations: 0 / 433.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.2571, allocations: 98.55 kB / 433.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.2575, allocations: 38.45 kB / 433.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.2588, allocations: 0.672 MB / 434 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.2592, allocations: 0.7402 MB / 434.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.574e-05/0.2593, allocations: 17.94 kB / 434.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.2593, allocations: 27.44 kB / 434.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2593, allocations: 0 / 434.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of Templates: time 0.007708/0.267, allocations: 3.346 MB / 438.1 MB, free: 13.23 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins/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: 4.299872359260917]