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.001323/0.001323, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001129/0.001129, allocations: 169.5 kB / 25.33 MB, free: 9.016 MB / 18.57 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 0.8827/0.8827, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 3.576e-06/3.576e-06, allocations: 4 kB / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/3.074e-05, allocations: 2.312 kB / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003893/0.003924, allocations: 2.237 MB / 253.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.005516, allocations: 0.7292 MB / 254 MB, free: 4.535 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.005697, allocations: 7.938 kB / 254 MB, free: 4.527 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.005941, allocations: 27.72 kB / 254 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.00618, allocations: 79.34 kB / 254.1 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.006643, allocations: 107.7 kB / 254.2 MB, free: 4.316 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.007014, allocations: 275.2 kB / 254.5 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.00717, allocations: 40.56 kB / 254.5 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.007434, allocations: 147.7 kB / 254.7 MB, free: 3.863 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.007656, allocations: 99.75 kB / 254.8 MB, free: 3.766 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.007698, allocations: 23.94 kB / 254.8 MB, free: 3.742 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.007855, allocations: 71.94 kB / 254.9 MB, free: 3.672 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.007932, allocations: 51.77 kB / 254.9 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.008033, allocations: 79.81 kB / 255 MB, free: 3.543 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.008414, allocations: 211.3 kB / 255.2 MB, free: 3.336 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.008419, allocations: 0 / 255.2 MB, free: 3.336 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.008421, allocations: 0 / 255.2 MB, free: 3.336 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.008429, allocations: 0 / 255.2 MB, free: 3.336 MB / 234.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.0008298/0.009258, allocations: 0.539 MB / 255.7 MB, free: 2.762 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.009306, allocations: 19.98 kB / 255.8 MB, free: 2.742 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.009409, allocations: 36.8 kB / 255.8 MB, free: 2.707 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.009709, allocations: 184.2 kB / 256 MB, free: 2.5 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.009747, allocations: 16.88 kB / 256 MB, free: 2.48 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.009796, allocations: 24.33 kB / 256 MB, free: 2.457 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/0.01022, allocations: 201.5 kB / 256.2 MB, free: 2.242 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.01024, allocations: 192 / 256.2 MB, free: 2.242 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.01026, allocations: 8.375 kB / 256.2 MB, free: 2.234 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.01027, allocations: 11.88 kB / 256.2 MB, free: 2.223 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.01051, allocations: 101 kB / 256.3 MB, free: 2.125 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.01168, allocations: 0.7177 MB / 257 MB, free: 1.355 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.01205, allocations: 103 kB / 257.1 MB, free: 1.242 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.934e-05/0.01215, allocations: 47.66 kB / 257.2 MB, free: 1.191 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.01217, allocations: 4 kB / 257.2 MB, free: 1.188 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.01221, allocations: 41.33 kB / 257.2 MB, free: 1.137 MB / 234.7 MB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.01221, allocations: 0 / 257.2 MB, free: 1.137 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.001537/0.01375, allocations: 0.6471 MB / 257.9 MB, free: 436 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.01378, allocations: 59.41 kB / 257.9 MB, free: 364 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.014, allocations: 241.8 kB / 258.2 MB, free: 104 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.01402, allocations: 29.7 kB / 258.2 MB, free: 68 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.01414, allocations: 187.1 kB / 258.4 MB, free: 15.88 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/0.01421, allocations: 75.38 kB / 258.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/0.0143, allocations: 55.36 kB / 258.5 MB, free: 15.74 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.01446, allocations: 0.5001 MB / 259 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.01458, allocations: 51.97 kB / 259.1 MB, free: 15.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.01472, allocations: 92 kB / 259.2 MB, free: 15.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.01493, allocations: 136 kB / 259.3 MB, free: 14.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01493, allocations: 0 / 259.3 MB, free: 14.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004319/0.01537, allocations: 242.6 kB / 259.5 MB, free: 14.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.01539, allocations: 4 kB / 259.5 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.0154, allocations: 4 kB / 259.5 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/0.01567, allocations: 67.69 kB / 259.6 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.01583, allocations: 39.92 kB / 259.6 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005573/0.01639, allocations: 0.8546 MB / 260.5 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.01653, allocations: 15.98 kB / 260.5 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.01655, allocations: 11.88 kB / 260.5 MB, free: 13.65 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 0.0001297/0.01668, allocations: 172.5 kB / 260.7 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.01673, allocations: 27.94 kB / 260.7 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.01679, allocations: 25.8 kB / 260.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01679, allocations: 0 / 260.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01679, allocations: 0 / 260.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.0168, allocations: 0 / 260.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007947/0.01759, allocations: 0.5268 MB / 261.3 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.0176, allocations: 0 / 261.3 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.01776, allocations: 31.97 kB / 261.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/0.01794, allocations: 59.72 kB / 261.4 MB, free: 12.74 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.01796, allocations: 7.922 kB / 261.4 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005689/0.01853, allocations: 0.8507 MB / 262.2 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.01854, allocations: 4 kB / 262.2 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005356/0.01907, allocations: 398.6 kB / 262.6 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.01915, allocations: 23.89 kB / 262.6 MB, free: 11.4 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.01919, allocations: 15.92 kB / 262.6 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.01933, allocations: 16.03 kB / 262.7 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.585e-05/0.01942, allocations: 23.95 kB / 262.7 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.01944, allocations: 7.984 kB / 262.7 MB, free: 11.34 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.01957, allocations: 175.7 kB / 262.9 MB, free: 11.17 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.01957, allocations: 0 / 262.9 MB, free: 11.17 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000418/0.01999, allocations: 59.94 kB / 262.9 MB, free: 11.11 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.0002795/0.02027, allocations: 131.2 kB / 263 MB, free: 10.97 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.02073, allocations: 156.7 kB / 263.2 MB, free: 10.82 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.02073, allocations: 0 / 263.2 MB, free: 10.82 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.0209, allocations: 81.22 kB / 263.3 MB, free: 10.73 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.02135, allocations: 51.98 kB / 263.3 MB, free: 10.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.02285, allocations: 0.569 MB / 263.9 MB, free: 10.07 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.763e-05/0.02292, allocations: 75.98 kB / 264 MB, free: 9.98 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.389e-05/0.023, allocations: 13.95 kB / 264 MB, free: 9.969 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.02306, allocations: 24.5 kB / 264 MB, free: 9.945 MB / 250.7 MB Notification: Performance of SimCode: time 1.543e-06/0.02306, allocations: 4 kB / 264 MB, free: 9.941 MB / 250.7 MB Notification: Performance of Templates: time 0.007577/0.03064, allocations: 3.085 MB / 267.1 MB, free: 6.871 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.746796825900674]