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.001312/0.001312, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002126/0.002126, allocations: 215.4 kB / 23.73 MB, free: 4.406 MB / 14.72 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 1.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001955/0.001955, allocations: 63.88 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2349, allocations: 53.41 MB / 431.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.00468/0.2396, allocations: 2.232 MB / 433.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.2417, allocations: 0.8179 MB / 434.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.2418, allocations: 7.938 kB / 434.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.2421, allocations: 51.56 kB / 434.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.2424, allocations: 103.3 kB / 434.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.2426, allocations: 83.78 kB / 434.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.2429, allocations: 271.4 kB / 435.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.2431, allocations: 48.52 kB / 435.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.2433, allocations: 131.5 kB / 435.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.2435, allocations: 119.5 kB / 435.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.2436, allocations: 20 kB / 435.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.2437, allocations: 75.98 kB / 435.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.008e-05/0.2438, allocations: 51.83 kB / 435.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.2439, allocations: 107.5 kB / 435.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.2443, allocations: 309 kB / 436 MB, free: 2.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.2443, allocations: 4 kB / 436 MB, free: 2.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2443, allocations: 0 / 436 MB, free: 2.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.2443, allocations: 0 / 436 MB, free: 2.113 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.0008666/0.2452, allocations: 481.3 kB / 436.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2452, allocations: 15.98 kB / 436.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.2454, allocations: 32.78 kB / 436.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.2457, allocations: 186.9 kB / 436.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.2457, allocations: 20.75 kB / 436.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.2458, allocations: 24.27 kB / 436.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.2462, allocations: 214.7 kB / 437 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.2462, allocations: 7.984 kB / 437 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.2462, allocations: 12 kB / 437 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.2462, allocations: 4 kB / 437 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.2466, allocations: 155.3 kB / 437.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.2476, allocations: 0.6317 MB / 437.8 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.248, allocations: 146.6 kB / 437.9 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.2481, allocations: 67.58 kB / 438 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.2482, allocations: 0 / 438 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.2482, allocations: 42.56 kB / 438 MB, free: 15.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.042e-06/0.2482, allocations: 3.938 kB / 438 MB, free: 15.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001774/0.25, allocations: 0.767 MB / 438.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.25, allocations: 55.41 kB / 438.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.2502, allocations: 195.2 kB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.2503, allocations: 33.69 kB / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/0.2504, allocations: 148.4 kB / 439.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.558e-05/0.2504, allocations: 67.39 kB / 439.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/0.2505, allocations: 53.69 kB / 439.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2507, allocations: 326.8 kB / 439.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.2508, allocations: 67.97 kB / 439.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.251, allocations: 115.4 kB / 439.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.2513, allocations: 163.9 kB / 440 MB, free: 13.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2513, allocations: 0 / 440 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004837/0.2518, allocations: 254.3 kB / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2518, allocations: 11.92 kB / 440.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2518, allocations: 8 kB / 440.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002043/0.252, allocations: 56.84 kB / 440.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.2522, allocations: 39.97 kB / 440.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.254, allocations: 1.683 MB / 442.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.2542, allocations: 28.03 kB / 442.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.2543, allocations: 8 kB / 442.1 MB, free: 11.69 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.0001439/0.2544, allocations: 141.7 kB / 442.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.2544, allocations: 15.91 kB / 442.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.109e-05/0.2545, allocations: 25.95 kB / 442.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.2545, allocations: 3.938 kB / 442.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.2545, allocations: 4 kB / 442.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2545, allocations: 0 / 442.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008709/0.2554, allocations: 0.5164 MB / 442.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2554, allocations: 0 / 442.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.2556, allocations: 31.98 kB / 442.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001447/0.2557, allocations: 56.77 kB / 442.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.2557, allocations: 8 kB / 442.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.2573, allocations: 1.531 MB / 444.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2573, allocations: 3.984 kB / 444.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006848/0.258, allocations: 424.5 kB / 444.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.2581, allocations: 39.8 kB / 444.9 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.2581, allocations: 4 kB / 444.9 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.2583, allocations: 28.03 kB / 444.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.2585, allocations: 67.89 kB / 445 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.2585, allocations: 4 kB / 445 MB, free: 8.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.2586, allocations: 147.2 kB / 445.1 MB, free: 8.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2586, allocations: 4 kB / 445.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000389/0.259, allocations: 67.98 kB / 445.2 MB, free: 8.395 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.001418/0.2605, allocations: 377.2 kB / 445.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006163/0.2611, allocations: 298.5 kB / 445.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2611, allocations: 0 / 445.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003439/0.2614, allocations: 234.7 kB / 446.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.2618, allocations: 35.92 kB / 446.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.2632, allocations: 0.704 MB / 446.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.2633, allocations: 138.2 kB / 447 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.189e-05/0.2634, allocations: 29.92 kB / 447 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.2635, allocations: 23.42 kB / 447 MB, free: 6.613 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2635, allocations: 0 / 447 MB, free: 6.613 MB / 350.1 MB Notification: Performance of Templates: time 0.008682/0.2721, allocations: 3.964 MB / 451 MB, free: 2.699 MB / 350.1 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.559387035667896]