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.001016/0.001016, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001065/0.001065, allocations: 167.7 kB / 25.33 MB, free: 9.449 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.908/0.908, allocations: 158.6 MB / 187.2 MB, free: 2.555 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 1.423e-06/1.423e-06, allocations: 0 / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.798e-05, allocations: 2.312 kB / 251 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.002389/0.002407, allocations: 2.244 MB / 253.3 MB, free: 1.352 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009575/0.003364, allocations: 0.7215 MB / 254 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.246e-05/0.003457, allocations: 3.938 kB / 254 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.003626, allocations: 39.7 kB / 254 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.003769, allocations: 71.36 kB / 254.1 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.004089, allocations: 103.7 kB / 254.2 MB, free: 416 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.004317, allocations: 271.3 kB / 254.5 MB, free: 144 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.004439, allocations: 40.56 kB / 254.5 MB, free: 104 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.004621, allocations: 159.8 kB / 254.7 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.004772, allocations: 91.7 kB / 254.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.004802, allocations: 20 kB / 254.8 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.004906, allocations: 71.94 kB / 254.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/0.004964, allocations: 51.81 kB / 254.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.005028, allocations: 75.67 kB / 255 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.005284, allocations: 219.3 kB / 255.2 MB, free: 15.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.005288, allocations: 4 kB / 255.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005288, allocations: 0 / 255.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005293, allocations: 0 / 255.2 MB, free: 15.42 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.0005595/0.005852, allocations: 0.539 MB / 255.7 MB, free: 14.85 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.005889, allocations: 19.92 kB / 255.7 MB, free: 14.83 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.005948, allocations: 36.8 kB / 255.8 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.006139, allocations: 184.2 kB / 256 MB, free: 14.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.006164, allocations: 16.88 kB / 256 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.006204, allocations: 20.38 kB / 256 MB, free: 14.55 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.006468, allocations: 205.4 kB / 256.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.006481, allocations: 4.141 kB / 256.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.006496, allocations: 8.375 kB / 256.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.006507, allocations: 15.88 kB / 256.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.006653, allocations: 97.03 kB / 256.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007302/0.007383, allocations: 0.7099 MB / 257 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.007607, allocations: 117.4 kB / 257.1 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.176e-05/0.007669, allocations: 43.67 kB / 257.2 MB, free: 13.28 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.007688, allocations: 4 kB / 257.2 MB, free: 13.28 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.007711, allocations: 41.33 kB / 257.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.614e-06/0.007713, allocations: 4 kB / 257.2 MB, free: 13.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.001065/0.008778, allocations: 0.6426 MB / 257.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.008804, allocations: 55.41 kB / 257.9 MB, free: 12.45 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.008948, allocations: 245.7 kB / 258.2 MB, free: 12.19 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.008962, allocations: 29.7 kB / 258.2 MB, free: 12.16 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.009037, allocations: 191.1 kB / 258.4 MB, free: 11.96 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.009082, allocations: 83.36 kB / 258.5 MB, free: 11.88 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.009146, allocations: 55.36 kB / 258.5 MB, free: 11.82 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.009257, allocations: 0.4962 MB / 259 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-05/0.009326, allocations: 47.97 kB / 259.1 MB, free: 11.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.834e-05/0.009414, allocations: 92 kB / 259.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.009554, allocations: 132.1 kB / 259.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.009555, allocations: 0 / 259.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002624/0.009818, allocations: 254.6 kB / 259.5 MB, free: 10.76 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.009829, allocations: 8.062 kB / 259.5 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.009834, allocations: 0 / 259.5 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001607/0.009995, allocations: 59.64 kB / 259.6 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.205e-05/0.01009, allocations: 39.92 kB / 259.6 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003642/0.01045, allocations: 0.8507 MB / 260.5 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.01053, allocations: 19.98 kB / 260.5 MB, free: 9.746 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.01054, allocations: 7.969 kB / 260.5 MB, free: 9.738 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 8.397e-05/0.01063, allocations: 176.5 kB / 260.7 MB, free: 9.555 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.01066, allocations: 27.91 kB / 260.7 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.01069, allocations: 17.81 kB / 260.7 MB, free: 9.508 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01069, allocations: 4 kB / 260.7 MB, free: 9.504 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.0107, allocations: 0 / 260.7 MB, free: 9.504 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.0107, allocations: 3.984 kB / 260.7 MB, free: 9.5 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.01117, allocations: 0.5157 MB / 261.3 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01117, allocations: 8.062 kB / 261.3 MB, free: 8.922 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-05/0.01126, allocations: 23.98 kB / 261.3 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.894e-05/0.01136, allocations: 63.62 kB / 261.4 MB, free: 8.832 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.01137, allocations: 7.938 kB / 261.4 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003041/0.01167, allocations: 0.8507 MB / 262.2 MB, free: 7.941 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01167, allocations: 0 / 262.2 MB, free: 7.941 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.01198, allocations: 405.2 kB / 262.6 MB, free: 7.516 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.01202, allocations: 31.88 kB / 262.6 MB, free: 7.484 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.01205, allocations: 11.94 kB / 262.6 MB, free: 7.473 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.01213, allocations: 11.98 kB / 262.7 MB, free: 7.461 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.01218, allocations: 23.95 kB / 262.7 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.01219, allocations: 8 kB / 262.7 MB, free: 7.43 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.681e-05/0.01227, allocations: 175.6 kB / 262.9 MB, free: 7.258 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01227, allocations: 0 / 262.9 MB, free: 7.258 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.01247, allocations: 63.94 kB / 262.9 MB, free: 7.195 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.0001362/0.01261, allocations: 127.2 kB / 263 MB, free: 7.062 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.01287, allocations: 156.6 kB / 263.2 MB, free: 6.906 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01287, allocations: 0 / 263.2 MB, free: 6.906 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.981e-05/0.01297, allocations: 84.69 kB / 263.3 MB, free: 6.82 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.01322, allocations: 56.45 kB / 263.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008575/0.01408, allocations: 0.5574 MB / 263.9 MB, free: 6.168 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.599e-05/0.01412, allocations: 83.97 kB / 264 MB, free: 6.066 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.796e-05/0.01417, allocations: 17.95 kB / 264 MB, free: 6.051 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.01421, allocations: 20.5 kB / 264 MB, free: 6.031 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01421, allocations: 0 / 264 MB, free: 6.031 MB / 250.7 MB Notification: Performance of Templates: time 0.004442/0.01865, allocations: 2.9 MB / 266.9 MB, free: 3.152 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.7694177832454443]