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.008992/0.008992, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.002074/0.002074, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.56/1.56, allocations: 230.6 MB / 259 MB, free: 8.016 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.002128/0.002128, allocations: 64.56 kB / 379.8 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2567, allocations: 53.37 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003993/0.2607, allocations: 2.362 MB / 435.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2622, allocations: 0.8685 MB / 436.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.2623, allocations: 7.938 kB / 436.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.2626, allocations: 51.56 kB / 436.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.2628, allocations: 107.2 kB / 436.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.263, allocations: 79.84 kB / 436.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.2634, allocations: 275.4 kB / 436.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.2635, allocations: 52.47 kB / 437 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.2637, allocations: 127.5 kB / 437.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.264, allocations: 127.5 kB / 437.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.264, allocations: 20 kB / 437.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.2641, allocations: 75.98 kB / 437.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.51e-05/0.2642, allocations: 55.83 kB / 437.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.2643, allocations: 119.3 kB / 437.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.2648, allocations: 317 kB / 437.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2648, allocations: 0 / 437.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2648, allocations: 0 / 437.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2648, allocations: 0 / 437.8 MB, free: 2.34 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.0008488/0.2656, allocations: 485.2 kB / 438.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2657, allocations: 8.031 kB / 438.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.2658, allocations: 36.78 kB / 438.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.2662, allocations: 194.8 kB / 438.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.2662, allocations: 20.69 kB / 438.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.2663, allocations: 24.27 kB / 438.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.2667, allocations: 214.7 kB / 438.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2667, allocations: 0 / 438.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.2667, allocations: 16 kB / 438.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.2667, allocations: 4 kB / 438.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.2671, allocations: 163.2 kB / 438.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.2682, allocations: 0.7131 MB / 439.6 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.2686, allocations: 142.5 kB / 439.8 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.2688, allocations: 65.02 kB / 439.8 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.2688, allocations: 4 kB / 439.8 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.2688, allocations: 30.91 kB / 439.9 MB, free: 108 kB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.2688, allocations: 0 / 439.9 MB, free: 108 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001888/0.2707, allocations: 0.7758 MB / 440.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.2708, allocations: 59.41 kB / 440.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.271, allocations: 218.8 kB / 440.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.271, allocations: 29.7 kB / 440.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2712, allocations: 144.5 kB / 441.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.423e-05/0.2712, allocations: 75.3 kB / 441.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-05/0.2713, allocations: 53.69 kB / 441.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2715, allocations: 326.8 kB / 441.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.2716, allocations: 71.97 kB / 441.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.2718, allocations: 103.4 kB / 441.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.2721, allocations: 155.3 kB / 441.9 MB, free: 14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2721, allocations: 0 / 441.9 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005154/0.2727, allocations: 270.2 kB / 442.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2727, allocations: 8 kB / 442.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2727, allocations: 0 / 442.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000213/0.2729, allocations: 60.77 kB / 442.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.273, allocations: 35.98 kB / 442.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.2751, allocations: 1.718 MB / 443.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.2753, allocations: 23.97 kB / 444 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.2753, allocations: 12 kB / 444 MB, free: 11.75 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.0001517/0.2755, allocations: 130 kB / 444.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.2756, allocations: 31.77 kB / 444.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.2756, allocations: 26.03 kB / 444.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2756, allocations: 8 kB / 444.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.2756, allocations: 3.938 kB / 444.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2756, allocations: 3.984 kB / 444.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009372/0.2766, allocations: 0.5743 MB / 444.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2766, allocations: 0 / 444.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.2767, allocations: 39.98 kB / 444.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001566/0.2769, allocations: 52.83 kB / 444.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.2769, allocations: 4 kB / 444.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.2787, allocations: 1.565 MB / 446.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2787, allocations: 0 / 446.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.2794, allocations: 426.2 kB / 446.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.811e-05/0.2795, allocations: 39.88 kB / 446.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.2795, allocations: 4 kB / 446.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.2797, allocations: 19.92 kB / 446.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.2798, allocations: 75.88 kB / 447 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.2799, allocations: 8 kB / 447 MB, free: 8.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.28, allocations: 160.6 kB / 447.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.28, allocations: 0 / 447.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004077/0.2805, allocations: 71.94 kB / 447.2 MB, free: 8.316 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.001323/0.2818, allocations: 377.2 kB / 447.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006374/0.2824, allocations: 301.5 kB / 447.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2824, allocations: 0 / 447.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.2828, allocations: 230.6 kB / 448.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.2832, allocations: 39.91 kB / 448.1 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.2845, allocations: 0.725 MB / 448.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.2849, allocations: 0.7441 MB / 449.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.285, allocations: 23.42 kB / 449.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.285, allocations: 0 / 449.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of Templates: time 0.006859/0.2918, allocations: 4.046 MB / 453.7 MB, free: 1.898 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/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-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: 7.935544168110937]