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.001075/0.001075, allocations: 76.48 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001452/0.002528, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009959/0.0009959, allocations: 148.9 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001375/0.002371, allocations: 459.6 kB / 11.69 MB, free: 2.477 MB / 13.93 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.004/1.004, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08735/1.091, allocations: 52.49 MB / 238.3 MB, free: 4.445 MB / 234.7 MB " [Timeout remaining time 179] 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 1.583e-06/1.583e-06, allocations: 0 / 239.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.737e-05, allocations: 2.875 kB / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.002529/0.002546, allocations: 2.289 MB / 241.8 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009814/0.003527, allocations: 0.6853 MB / 242.5 MB, free: 216 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.003645, allocations: 0 / 242.5 MB, free: 216 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.003808, allocations: 39.66 kB / 242.5 MB, free: 176 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.003947, allocations: 75.34 kB / 242.6 MB, free: 100 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.004185, allocations: 99.73 kB / 242.7 MB, free: 0 / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.004433, allocations: 263.5 kB / 243 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.004555, allocations: 58.42 kB / 243 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.004733, allocations: 167.4 kB / 243.2 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.004887, allocations: 95.75 kB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.004913, allocations: 20 kB / 243.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.005046, allocations: 75.94 kB / 243.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.005096, allocations: 35.88 kB / 243.4 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.005152, allocations: 67.88 kB / 243.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.005379, allocations: 187.3 kB / 243.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/0.005395, allocations: 0 / 243.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005396, allocations: 0 / 243.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.005413, allocations: 0 / 243.7 MB, free: 15.05 MB / 250.7 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.0005842/0.005997, allocations: 467.9 kB / 244.1 MB, free: 14.56 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.006031, allocations: 15.98 kB / 244.1 MB, free: 14.55 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.006083, allocations: 32.91 kB / 244.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.006261, allocations: 157.5 kB / 244.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.006284, allocations: 16.88 kB / 244.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.006318, allocations: 32.27 kB / 244.4 MB, free: 14.29 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.006531, allocations: 183.7 kB / 244.6 MB, free: 14.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.006543, allocations: 192 / 244.6 MB, free: 14.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.006558, allocations: 12.38 kB / 244.6 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.006566, allocations: 7.938 kB / 244.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.275e-05/0.006659, allocations: 64.83 kB / 244.6 MB, free: 14.01 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.007229, allocations: 0.5033 MB / 245.1 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.007408, allocations: 98.33 kB / 245.2 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.007445, allocations: 32.84 kB / 245.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.007462, allocations: 4 kB / 245.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.007486, allocations: 30.56 kB / 245.3 MB, free: 13.3 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.007487, allocations: 0 / 245.3 MB, free: 13.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008181/0.008305, allocations: 0.5599 MB / 245.9 MB, free: 12.69 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.008329, allocations: 55.41 kB / 245.9 MB, free: 12.62 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.978e-05/0.008429, allocations: 178.5 kB / 246.1 MB, free: 12.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.008443, allocations: 37.58 kB / 246.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.0085, allocations: 144.2 kB / 246.3 MB, free: 12.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.008538, allocations: 79.34 kB / 246.3 MB, free: 12.17 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.00859, allocations: 45.69 kB / 246.4 MB, free: 12.12 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.008677, allocations: 338.8 kB / 246.7 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.875e-05/0.008716, allocations: 27.98 kB / 246.8 MB, free: 11.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.469e-05/0.00877, allocations: 64.69 kB / 246.8 MB, free: 11.67 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.008871, allocations: 108.7 kB / 246.9 MB, free: 11.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.008872, allocations: 0 / 246.9 MB, free: 11.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00017/0.009042, allocations: 168.7 kB / 247.1 MB, free: 11.38 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.009057, allocations: 10.59 kB / 247.1 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.009062, allocations: 4 kB / 247.1 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.009203, allocations: 52.88 kB / 247.2 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.009298, allocations: 51.91 kB / 247.2 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002777/0.009576, allocations: 0.5718 MB / 247.8 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.204e-05/0.009648, allocations: 15.98 kB / 247.8 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.00966, allocations: 8 kB / 247.8 MB, free: 10.64 MB / 250.7 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 7.274e-05/0.009732, allocations: 128.6 kB / 247.9 MB, free: 10.51 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.009757, allocations: 23.92 kB / 247.9 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.009792, allocations: 21.81 kB / 248 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.009793, allocations: 0 / 248 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.009795, allocations: 0 / 248 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.009799, allocations: 3.984 kB / 248 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.01017, allocations: 357.1 kB / 248.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01017, allocations: 0 / 248.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.411e-05/0.01026, allocations: 39.98 kB / 248.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.0103, allocations: 35.77 kB / 248.4 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.203e-05/0.01039, allocations: 44.83 kB / 248.4 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.0104, allocations: 4 kB / 248.4 MB, free: 9.949 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002161/0.01062, allocations: 0.5679 MB / 249 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.01062, allocations: 4 kB / 249 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.01083, allocations: 296.8 kB / 249.3 MB, free: 9.039 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.01085, allocations: 8 kB / 249.3 MB, free: 9.031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-05/0.01092, allocations: 8 kB / 249.3 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.01096, allocations: 31.83 kB / 249.3 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.01097, allocations: 11.98 kB / 249.4 MB, free: 8.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.613e-05/0.01101, allocations: 45.33 kB / 249.4 MB, free: 8.934 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01101, allocations: 0 / 249.4 MB, free: 8.934 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.01119, allocations: 67.94 kB / 249.5 MB, free: 8.867 MB / 250.7 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.0001331/0.01132, allocations: 104.4 kB / 249.6 MB, free: 8.758 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.01154, allocations: 121.8 kB / 249.7 MB, free: 8.633 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.01155, allocations: 4 kB / 249.7 MB, free: 8.629 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/0.01163, allocations: 73.86 kB / 249.8 MB, free: 8.555 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.01185, allocations: 57 kB / 249.8 MB, free: 8.5 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.01406, allocations: 0.4952 MB / 250.3 MB, free: 7.973 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.0141, allocations: 75.98 kB / 250.4 MB, free: 7.879 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.477e-05/0.01416, allocations: 17.95 kB / 250.4 MB, free: 7.859 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-05/0.01423, allocations: 83.36 kB / 250.5 MB, free: 7.777 MB / 250.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01423, allocations: 0 / 250.5 MB, free: 7.777 MB / 250.7 MB Notification: Performance of Templates: time 0.004908/0.01914, allocations: 3.197 MB / 253.7 MB, free: 4.621 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.558354972861707]