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.0009895/0.0009895, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001016/0.001016, allocations: 168.5 kB / 24.91 MB, free: 8.254 MB / 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 0.8932/0.8932, allocations: 177 MB / 205.2 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] 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.693e-06/1.693e-06, allocations: 0 / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.3e-05, allocations: 2.312 kB / 273.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.002735/0.002758, allocations: 2.339 MB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.003823, allocations: 0.8604 MB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.003924, allocations: 7.938 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.004155, allocations: 51.52 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.004362, allocations: 107.1 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.004517, allocations: 87.83 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.004737, allocations: 283.3 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.00485, allocations: 50.45 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.005069, allocations: 171.6 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.005234, allocations: 103.7 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.005264, allocations: 20 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.005374, allocations: 83.83 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.00543, allocations: 51.83 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/0.005493, allocations: 83.8 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.005761, allocations: 231.2 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005763, allocations: 4 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005764, allocations: 0 / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.005768, allocations: 3.938 kB / 277.9 MB, free: 12.7 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.0004816/0.00625, allocations: 451.8 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.006281, allocations: 11.98 kB / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.006389, allocations: 40.89 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.006578, allocations: 190.1 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.006599, allocations: 20.75 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.006628, allocations: 20.38 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.006807, allocations: 170.9 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.735e-05/0.006895, allocations: 4.141 kB / 278.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.006908, allocations: 8.375 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.006914, allocations: 7.938 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.691e-05/0.007001, allocations: 63.33 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.007534, allocations: 498.9 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.0077, allocations: 86.53 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.007741, allocations: 36.78 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.007758, allocations: 7.938 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.007775, allocations: 30.56 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.007776, allocations: 0 / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007624/0.008539, allocations: 0.5569 MB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.00856, allocations: 51.41 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.008683, allocations: 201.4 kB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.0087, allocations: 29.7 kB / 280.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.00875, allocations: 140.4 kB / 280.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.008789, allocations: 71.36 kB / 280.5 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.008838, allocations: 49.67 kB / 280.6 MB, free: 9.793 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.008919, allocations: 338.8 kB / 280.9 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.008955, allocations: 32 kB / 280.9 MB, free: 9.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/0.00901, allocations: 71.31 kB / 281 MB, free: 9.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.268e-05/0.009102, allocations: 99.22 kB / 281.1 MB, free: 9.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.009104, allocations: 4 kB / 281.1 MB, free: 9.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001585/0.009262, allocations: 154.3 kB / 281.3 MB, free: 9.066 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.009273, allocations: 4 kB / 281.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.009278, allocations: 4 kB / 281.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001093/0.009387, allocations: 44.88 kB / 281.3 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.009467, allocations: 39.92 kB / 281.3 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008463/0.01031, allocations: 1.463 MB / 282.8 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.01038, allocations: 15.98 kB / 282.8 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.01039, allocations: 15.97 kB / 282.8 MB, free: 7.398 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 7.807e-05/0.01047, allocations: 128.5 kB / 283 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.0105, allocations: 16.03 kB / 283 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.01053, allocations: 33.94 kB / 283 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.01053, allocations: 4 kB / 283 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.01053, allocations: 0 / 283 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01053, allocations: 0 / 283 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.01089, allocations: 369.4 kB / 283.4 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01089, allocations: 4 kB / 283.4 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.334e-05/0.01098, allocations: 27.98 kB / 283.4 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.375e-05/0.01105, allocations: 40.83 kB / 283.5 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01106, allocations: 7.938 kB / 283.5 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006696/0.01173, allocations: 1.32 MB / 284.8 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01173, allocations: 3.938 kB / 284.8 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.01196, allocations: 285.8 kB / 285.1 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.012, allocations: 27.84 kB / 285.1 MB, free: 4.988 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.01201, allocations: 8 kB / 285.1 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.01209, allocations: 11.98 kB / 285.1 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.01217, allocations: 55.89 kB / 285.2 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.01218, allocations: 7.984 kB / 285.2 MB, free: 4.906 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.207e-05/0.01223, allocations: 63.52 kB / 285.2 MB, free: 4.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01223, allocations: 0 / 285.2 MB, free: 4.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.01244, allocations: 75.88 kB / 285.3 MB, free: 4.766 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.0009001/0.01334, allocations: 438.1 kB / 285.7 MB, free: 4.484 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.01372, allocations: 250.5 kB / 286 MB, free: 4.227 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.01373, allocations: 0 / 286 MB, free: 4.227 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.01386, allocations: 199.3 kB / 286.2 MB, free: 4.016 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.01408, allocations: 40.22 kB / 286.2 MB, free: 3.977 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007856/0.01486, allocations: 0.5272 MB / 286.7 MB, free: 3.414 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.792e-05/0.01491, allocations: 88.22 kB / 286.8 MB, free: 3.309 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.867e-05/0.01497, allocations: 26.02 kB / 286.9 MB, free: 3.285 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.458e-05/0.01506, allocations: 83.36 kB / 286.9 MB, free: 3.203 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01506, allocations: 0 / 286.9 MB, free: 3.203 MB / 266.7 MB Notification: Performance of Templates: time 0.1013/0.1164, allocations: 4.112 MB / 291 MB, free: 25.29 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 240] 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","",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.6486198930069804]