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.001276/0.001276, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001425/0.001425, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.001766/0.001766, allocations: 43.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2558, allocations: 53.36 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004025/0.2598, allocations: 2.228 MB / 433.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.2613, allocations: 0.8179 MB / 434.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.2614, allocations: 7.938 kB / 434.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.2617, allocations: 55.56 kB / 434.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.262, allocations: 103.3 kB / 434.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.2622, allocations: 83.84 kB / 434.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.2625, allocations: 275.4 kB / 435.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.2627, allocations: 44.52 kB / 435.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.263, allocations: 123.5 kB / 435.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.2632, allocations: 123.4 kB / 435.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.685e-05/0.2633, allocations: 20 kB / 435.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.2635, allocations: 75.98 kB / 435.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.683e-05/0.2635, allocations: 51.83 kB / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.2636, allocations: 103.5 kB / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.2641, allocations: 317 kB / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2641, allocations: 0 / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.2641, allocations: 0 / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.2641, allocations: 0 / 436 MB, free: 2.281 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.0008809/0.265, allocations: 485.2 kB / 436.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.265, allocations: 8.031 kB / 436.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.2652, allocations: 36.78 kB / 436.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.2655, allocations: 194.9 kB / 436.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.2656, allocations: 12.75 kB / 436.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.2656, allocations: 24.33 kB / 436.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.266, allocations: 218.7 kB / 436.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.2661, allocations: 7.984 kB / 436.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.2661, allocations: 8 kB / 436.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2661, allocations: 7.938 kB / 436.9 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003346/0.2664, allocations: 151.3 kB / 437.1 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.2675, allocations: 0.6395 MB / 437.7 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.268, allocations: 142.7 kB / 437.9 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.2681, allocations: 67.41 kB / 437.9 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.2682, allocations: 0 / 437.9 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.2682, allocations: 34.56 kB / 438 MB, free: 148 kB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.2682, allocations: 0 / 438 MB, free: 148 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.00199/0.2702, allocations: 0.7669 MB / 438.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.2703, allocations: 55.34 kB / 438.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.2705, allocations: 192.2 kB / 439 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.2705, allocations: 37.69 kB / 439 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/0.2706, allocations: 144.4 kB / 439.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.2707, allocations: 71.39 kB / 439.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.171e-05/0.2708, allocations: 53.69 kB / 439.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.2709, allocations: 326.8 kB / 439.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.2711, allocations: 67.97 kB / 439.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.2713, allocations: 107.4 kB / 439.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.2716, allocations: 167.3 kB / 439.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2716, allocations: 0 / 439.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004928/0.272, allocations: 266.2 kB / 440.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.2721, allocations: 11.92 kB / 440.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2721, allocations: 4 kB / 440.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.2723, allocations: 56.83 kB / 440.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.2724, allocations: 39.91 kB / 440.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.2744, allocations: 1.684 MB / 442 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.2746, allocations: 24 kB / 442 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.2746, allocations: 8 kB / 442 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.0001503/0.2747, allocations: 137.9 kB / 442.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.2748, allocations: 23.97 kB / 442.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.083e-05/0.2748, allocations: 25.95 kB / 442.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2749, allocations: 7.938 kB / 442.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.2749, allocations: 0 / 442.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2749, allocations: 0 / 442.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008848/0.2757, allocations: 0.5125 MB / 442.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2757, allocations: 0 / 442.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.2759, allocations: 36.05 kB / 442.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.2761, allocations: 56.77 kB / 442.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.2761, allocations: 11.98 kB / 442.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.2778, allocations: 1.531 MB / 444.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.2778, allocations: 4.031 kB / 444.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007107/0.2785, allocations: 429 kB / 444.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.825e-05/0.2786, allocations: 31.92 kB / 444.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.2786, allocations: 8 kB / 444.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.2788, allocations: 19.97 kB / 444.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.2789, allocations: 63.89 kB / 444.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.279, allocations: 8 kB / 444.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.2791, allocations: 151.3 kB / 445.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2791, allocations: 4 kB / 445.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004069/0.2795, allocations: 72 kB / 445.1 MB, free: 8.559 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.001455/0.281, allocations: 388.7 kB / 445.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006578/0.2816, allocations: 308.3 kB / 445.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2816, allocations: 0 / 445.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.282, allocations: 226.4 kB / 446 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.2824, allocations: 40.05 kB / 446.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.2838, allocations: 0.6964 MB / 446.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.284, allocations: 138.2 kB / 446.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.908e-05/0.2841, allocations: 25.89 kB / 446.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.2842, allocations: 27.42 kB / 447 MB, free: 6.801 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2842, allocations: 0 / 447 MB, free: 6.801 MB / 350.1 MB Notification: Performance of Templates: time 0.009257/0.2934, allocations: 3.964 MB / 450.9 MB, free: 2.887 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/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_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: 4.573749054223299]