Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001826/0.001826, allocations: 113.1 kB / 21.93 MB, free: 5.223 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.00215/0.00215, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 207.7 MB / 236.1 MB, free: 9.82 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002643/0.002643, allocations: 59.92 kB / 348.4 MB, free: 9.406 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3555, allocations: 49.15 MB / 397.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003703/0.3592, allocations: 2.121 MB / 399.7 MB, free: 7.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.3606, allocations: 0.6932 MB / 400.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.3607, allocations: 6.688 kB / 400.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.3609, allocations: 37 kB / 400.4 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.3611, allocations: 67.09 kB / 400.5 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.3615, allocations: 103.3 kB / 400.6 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.3618, allocations: 262.2 kB / 400.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.3619, allocations: 54.78 kB / 400.9 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.3621, allocations: 111.4 kB / 401 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.3623, allocations: 107.2 kB / 401.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.3623, allocations: 19.41 kB / 401.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.3625, allocations: 71.05 kB / 401.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.116e-05/0.3626, allocations: 53.14 kB / 401.3 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.983e-05/0.3627, allocations: 90.23 kB / 401.4 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.3631, allocations: 281.8 kB / 401.6 MB, free: 6.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.3631, allocations: 1.703 kB / 401.6 MB, free: 6.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3631, allocations: 0 / 401.6 MB, free: 6.945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3631, allocations: 0 / 401.6 MB, free: 6.945 MB / 318.1 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.00081/0.364, allocations: 453 kB / 402.1 MB, free: 6.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.364, allocations: 12.92 kB / 402.1 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.498e-05/0.3641, allocations: 29.42 kB / 402.1 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.3644, allocations: 176.3 kB / 402.3 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/0.3644, allocations: 17.28 kB / 402.3 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.3645, allocations: 25.5 kB / 402.3 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.3649, allocations: 226.8 kB / 402.6 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.3649, allocations: 1.703 kB / 402.6 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.3649, allocations: 6.25 kB / 402.6 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.3649, allocations: 4.594 kB / 402.6 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.3653, allocations: 164.8 kB / 402.7 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.3663, allocations: 0.6466 MB / 403.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.3667, allocations: 119.1 kB / 403.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.3669, allocations: 70.62 kB / 403.6 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.3669, allocations: 2.25 kB / 403.6 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.3669, allocations: 33.66 kB / 403.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.3669, allocations: 0 / 403.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001783/0.3687, allocations: 0.7682 MB / 404.4 MB, free: 5.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.3687, allocations: 57.81 kB / 404.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.3689, allocations: 184.2 kB / 404.6 MB, free: 4.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3689, allocations: 32.67 kB / 404.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.369, allocations: 150.3 kB / 404.8 MB, free: 4.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.369, allocations: 74.03 kB / 404.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.419e-05/0.3691, allocations: 55.52 kB / 404.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.3692, allocations: 328.9 kB / 405.2 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3693, allocations: 79.3 kB / 405.3 MB, free: 4.324 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.3695, allocations: 119 kB / 405.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.3698, allocations: 168.3 kB / 405.6 MB, free: 4.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3698, allocations: 1.25 kB / 405.6 MB, free: 4.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004968/0.3703, allocations: 287.7 kB / 405.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3703, allocations: 5.75 kB / 405.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3703, allocations: 2.266 kB / 405.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002665/0.3706, allocations: 74.41 kB / 406 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.3708, allocations: 36.44 kB / 406 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004134/0.3712, allocations: 0.6216 MB / 406.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3714, allocations: 26.28 kB / 406.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.3714, allocations: 11.94 kB / 406.6 MB, free: 3.422 MB / 318.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 (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 0.0001088/0.3715, allocations: 133 kB / 406.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.3715, allocations: 17.84 kB / 406.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/0.3716, allocations: 27.14 kB / 406.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3716, allocations: 2.656 kB / 406.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3716, allocations: 3.938 kB / 406.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3716, allocations: 2.828 kB / 406.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007704/0.3724, allocations: 0.5119 MB / 407.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3724, allocations: 5.312 kB / 407.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.3725, allocations: 28.06 kB / 407.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001732/0.3727, allocations: 66.81 kB / 407.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.3727, allocations: 8.062 kB / 407.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003986/0.3731, allocations: 0.6246 MB / 408.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3731, allocations: 1.375 kB / 408.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.3738, allocations: 409.5 kB / 408.5 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.233e-05/0.3739, allocations: 32.3 kB / 408.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.374, allocations: 6.062 kB / 408.5 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.3741, allocations: 21.14 kB / 408.5 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.3743, allocations: 24.53 kB / 408.6 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3743, allocations: 9.359 kB / 408.6 MB, free: 2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.3744, allocations: 138.5 kB / 408.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3744, allocations: 0 / 408.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.3748, allocations: 60.14 kB / 408.8 MB, free: 1.902 MB / 318.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 (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.0001802/0.375, allocations: 119.9 kB / 408.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005092/0.3755, allocations: 192.3 kB / 409.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3755, allocations: 1.375 kB / 409.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.3757, allocations: 104 kB / 409.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.3761, allocations: 37.05 kB / 409.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.3774, allocations: 0.6917 MB / 409.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.3775, allocations: 126.5 kB / 410 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.3776, allocations: 29.91 kB / 410 MB, free: 1.113 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3776, allocations: 1.469 kB / 410 MB, free: 1.113 MB / 318.1 MB Notification: Performance of Templates: time 0.006334/0.3839, allocations: 3.511 MB / 413.6 MB, free: 15.71 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.415835468098521]