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.001444/0.001444, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001514/0.001514, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 18.57 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.462/1.462, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 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 1.664e-06/1.664e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.363e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004172/0.004205, allocations: 2.249 MB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.005984, allocations: 0.8061 MB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.006099, allocations: 4 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.006376, allocations: 55.45 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.006668, allocations: 107.2 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.0069, allocations: 87.7 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.007259, allocations: 283.3 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.007398, allocations: 44.55 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003082/0.007706, allocations: 179.5 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.007918, allocations: 91.77 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.007961, allocations: 20 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.008117, allocations: 83.89 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.918e-05/0.008196, allocations: 55.83 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.008308, allocations: 83.75 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004555/0.008763, allocations: 319 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.008769, allocations: 7.938 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.00877, allocations: 0 / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.008775, allocations: 0 / 276.6 MB, free: 13.34 MB / 266.7 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.0009058/0.00968, allocations: 477.2 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.009723, allocations: 11.98 kB / 277.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.009922, allocations: 44.8 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.01032, allocations: 197.4 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.01034, allocations: 12.75 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.0104, allocations: 24.36 kB / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.01085, allocations: 218.9 kB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.01087, allocations: 4.141 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.01089, allocations: 8.375 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.0109, allocations: 7.938 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.01125, allocations: 151.3 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.01245, allocations: 0.6358 MB / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.01288, allocations: 142.6 kB / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.01304, allocations: 68.83 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.01306, allocations: 0 / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.0131, allocations: 38.56 kB / 278.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.012e-06/0.0131, allocations: 0 / 278.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.002249/0.01535, allocations: 0.7747 MB / 279.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.0154, allocations: 59.28 kB / 279.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.01566, allocations: 199.8 kB / 279.7 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.0157, allocations: 33.7 kB / 279.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.01582, allocations: 152.3 kB / 279.9 MB, free: 9.906 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/0.01589, allocations: 71.33 kB / 279.9 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-05/0.01599, allocations: 49.7 kB / 280 MB, free: 9.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.01618, allocations: 330.8 kB / 280.3 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.01634, allocations: 67.97 kB / 280.4 MB, free: 9.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.01656, allocations: 111.4 kB / 280.5 MB, free: 9.262 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.01688, allocations: 163.2 kB / 280.6 MB, free: 9.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01688, allocations: 0 / 280.6 MB, free: 9.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000549/0.01743, allocations: 266.3 kB / 280.9 MB, free: 8.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.01745, allocations: 8 kB / 280.9 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01745, allocations: 0 / 280.9 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000259/0.01771, allocations: 68.69 kB / 281 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.01788, allocations: 35.97 kB / 281 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.02014, allocations: 1.684 MB / 282.7 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.02035, allocations: 27.91 kB / 282.7 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.02036, allocations: 4 kB / 282.7 MB, free: 6.891 MB / 266.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 (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.0001824/0.02055, allocations: 137.8 kB / 282.8 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.02062, allocations: 31.97 kB / 282.9 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.171e-05/0.02068, allocations: 29.98 kB / 282.9 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.02068, allocations: 0 / 282.9 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.02068, allocations: 0 / 282.9 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.02069, allocations: 0 / 282.9 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009719/0.02166, allocations: 0.5202 MB / 283.4 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02166, allocations: 64 / 283.4 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.02184, allocations: 39.92 kB / 283.5 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001748/0.02201, allocations: 61.03 kB / 283.5 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.02203, allocations: 4 kB / 283.5 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.02391, allocations: 1.523 MB / 285.1 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.02391, allocations: 3.938 kB / 285.1 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008091/0.02472, allocations: 445.8 kB / 285.5 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.203e-05/0.02481, allocations: 31.92 kB / 285.5 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.02485, allocations: 4 kB / 285.5 MB, free: 3.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.02504, allocations: 19.97 kB / 285.5 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.02522, allocations: 67.89 kB / 285.6 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.02524, allocations: 4 kB / 285.6 MB, free: 3.797 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004778/0.02571, allocations: 151 kB / 285.8 MB, free: 3.648 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02571, allocations: 8 kB / 285.8 MB, free: 3.641 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004635/0.02618, allocations: 64 kB / 285.8 MB, free: 3.578 MB / 266.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 (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.001735/0.02791, allocations: 382.1 kB / 286.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000764/0.02868, allocations: 321.5 kB / 286.5 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.02868, allocations: 0 / 286.5 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.02907, allocations: 226.4 kB / 286.7 MB, free: 2.766 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.02958, allocations: 43.97 kB / 286.8 MB, free: 2.723 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.0312, allocations: 0.6031 MB / 287.4 MB, free: 2.086 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.0314, allocations: 134.2 kB / 287.5 MB, free: 1.938 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00012/0.03152, allocations: 29.88 kB / 287.5 MB, free: 1.902 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.03159, allocations: 20.5 kB / 287.6 MB, free: 1.883 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.03159, allocations: 0 / 287.6 MB, free: 1.883 MB / 266.7 MB Notification: Performance of Templates: time 0.009351/0.04094, allocations: 3.785 MB / 291.4 MB, free: 14.14 MB / 282.7 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.436291916994378]