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.001595/0.001595, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.00175/0.00175, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.448/1.448, allocations: 230.5 MB / 258.1 MB, free: 7.801 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.002019/0.002019, allocations: 59.89 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2552, allocations: 53.43 MB / 432.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004063/0.2593, allocations: 2.221 MB / 434.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.2608, allocations: 0.8179 MB / 435.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.261, allocations: 7.938 kB / 435.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.2612, allocations: 47.59 kB / 435.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.2615, allocations: 107.2 kB / 435.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.2617, allocations: 83.83 kB / 435.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.2621, allocations: 279.4 kB / 435.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.2622, allocations: 44.53 kB / 436 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.2625, allocations: 127.5 kB / 436.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.2627, allocations: 115.5 kB / 436.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.06e-05/0.2627, allocations: 20 kB / 436.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.2629, allocations: 79.95 kB / 436.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.197e-05/0.263, allocations: 59.84 kB / 436.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.2631, allocations: 95.52 kB / 436.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.2635, allocations: 316.5 kB / 436.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2635, allocations: 3.938 kB / 436.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2635, allocations: 0 / 436.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.2635, allocations: 0 / 436.8 MB, free: 2.137 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.0009173/0.2644, allocations: 481.2 kB / 437.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2645, allocations: 11.98 kB / 437.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.2647, allocations: 40.78 kB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.265, allocations: 186.9 kB / 437.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.2651, allocations: 16.75 kB / 437.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.2651, allocations: 24.33 kB / 437.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.2655, allocations: 222.7 kB / 437.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.2655, allocations: 3.984 kB / 437.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.2656, allocations: 4 kB / 437.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.2656, allocations: 8 kB / 437.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.2659, allocations: 155.3 kB / 437.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.267, allocations: 0.6356 MB / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.2674, allocations: 138.7 kB / 438.7 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.2676, allocations: 60.84 kB / 438.7 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.2676, allocations: 8 kB / 438.8 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.2676, allocations: 34.55 kB / 438.8 MB, free: 4 kB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.452e-06/0.2676, allocations: 0 / 438.8 MB, free: 4 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001897/0.2695, allocations: 0.766 MB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.2696, allocations: 55.41 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.2698, allocations: 203.1 kB / 439.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.2698, allocations: 29.7 kB / 439.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2699, allocations: 148.3 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.27, allocations: 83.28 kB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.2701, allocations: 45.7 kB / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.2703, allocations: 334.8 kB / 440.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.2705, allocations: 71.97 kB / 440.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.2707, allocations: 103.4 kB / 440.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.271, allocations: 163.9 kB / 440.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.271, allocations: 4 kB / 440.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005151/0.2715, allocations: 254.3 kB / 441 MB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.2715, allocations: 11.94 kB / 441 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2715, allocations: 0 / 441 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/0.2717, allocations: 60.86 kB / 441.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.2719, allocations: 43.91 kB / 441.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.2739, allocations: 1.684 MB / 442.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.2741, allocations: 20.02 kB / 442.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.2742, allocations: 11.98 kB / 442.8 MB, free: 11.72 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.0001701/0.2743, allocations: 145.8 kB / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.2744, allocations: 15.91 kB / 443 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.33e-05/0.2744, allocations: 25.95 kB / 443 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.2744, allocations: 7.938 kB / 443 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-06/0.2745, allocations: 0 / 443 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2745, allocations: 0 / 443 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009316/0.2754, allocations: 0.5164 MB / 443.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.2754, allocations: 4 kB / 443.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.2756, allocations: 32.05 kB / 443.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001593/0.2757, allocations: 56.81 kB / 443.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.2757, allocations: 11.94 kB / 443.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.2774, allocations: 1.523 MB / 445.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2774, allocations: 4.062 kB / 445.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000728/0.2781, allocations: 418.2 kB / 445.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/0.2782, allocations: 31.92 kB / 445.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.2783, allocations: 8 kB / 445.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.2784, allocations: 15.98 kB / 445.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.2786, allocations: 67.88 kB / 445.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.2786, allocations: 8 kB / 445.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.2788, allocations: 155.1 kB / 445.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2788, allocations: 0 / 445.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004429/0.2792, allocations: 68 kB / 445.9 MB, free: 8.43 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.00147/0.2807, allocations: 388.1 kB / 446.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006753/0.2814, allocations: 298.5 kB / 446.6 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2814, allocations: 0 / 446.6 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.2817, allocations: 233 kB / 446.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.2821, allocations: 46.52 kB / 446.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.2836, allocations: 0.7281 MB / 447.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.2838, allocations: 142.1 kB / 447.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.2839, allocations: 23.38 kB / 447.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2839, allocations: 0 / 447.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of Templates: time 0.007317/0.2912, allocations: 4.064 MB / 451.8 MB, free: 2.57 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/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_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: 7.719455393962562]