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.002059/0.002059, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.002824/0.002824, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 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.56/1.56, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 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 0.002177/0.002177, allocations: 63.88 kB / 379 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3321, allocations: 53.41 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004173/0.3363, allocations: 2.36 MB / 434.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.3379, allocations: 0.8646 MB / 435.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.338, allocations: 7.938 kB / 435.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.3383, allocations: 51.58 kB / 435.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.3386, allocations: 111.2 kB / 435.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.3388, allocations: 79.84 kB / 435.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.3392, allocations: 283.3 kB / 436.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.3393, allocations: 44.53 kB / 436.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.3396, allocations: 119.6 kB / 436.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.3398, allocations: 131.5 kB / 436.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.3398, allocations: 20 kB / 436.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.34, allocations: 79.97 kB / 436.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.326e-05/0.3401, allocations: 63.72 kB / 436.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.3402, allocations: 119.4 kB / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.3407, allocations: 312 kB / 437 MB, free: 2.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3407, allocations: 0 / 437 MB, free: 2.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3407, allocations: 0 / 437 MB, free: 2.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3407, allocations: 0 / 437 MB, free: 2.125 MB / 334.1 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.0009373/0.3416, allocations: 481.2 kB / 437.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3417, allocations: 8.031 kB / 437.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.3419, allocations: 44.78 kB / 437.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.3423, allocations: 190.8 kB / 437.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.3423, allocations: 12.75 kB / 437.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.3424, allocations: 24.33 kB / 437.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/0.3428, allocations: 218.7 kB / 438 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3428, allocations: 0 / 438 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.3428, allocations: 15.98 kB / 438 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.3428, allocations: 8 kB / 438 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.3432, allocations: 155.2 kB / 438.2 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.3444, allocations: 0.7092 MB / 438.9 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.3448, allocations: 142.7 kB / 439 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.3449, allocations: 60.92 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.345, allocations: 4 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.345, allocations: 34.91 kB / 439.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/0.345, allocations: 3.938 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001949/0.3469, allocations: 0.7694 MB / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.347, allocations: 67.39 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.3473, allocations: 214.8 kB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.3473, allocations: 33.7 kB / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3474, allocations: 140.5 kB / 440.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.3475, allocations: 71.3 kB / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/0.3476, allocations: 57.69 kB / 440.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.3478, allocations: 326.8 kB / 440.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.3479, allocations: 71.97 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.3481, allocations: 107.4 kB / 441 MB, free: 13.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.3484, allocations: 159.9 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3484, allocations: 0 / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005099/0.3489, allocations: 274.2 kB / 441.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.349, allocations: 7.938 kB / 441.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.349, allocations: 0 / 441.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.3492, allocations: 60.77 kB / 441.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.3493, allocations: 39.92 kB / 441.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.3514, allocations: 1.715 MB / 443.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.3516, allocations: 24.02 kB / 443.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.3516, allocations: 8 kB / 443.2 MB, free: 11.54 MB / 350.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 (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.0001612/0.3518, allocations: 140.3 kB / 443.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.3519, allocations: 19.84 kB / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.149e-05/0.3519, allocations: 34.03 kB / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3519, allocations: 0 / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.3519, allocations: 48 / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.3519, allocations: 7.969 kB / 443.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009747/0.3529, allocations: 0.5742 MB / 444 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3529, allocations: 0 / 444 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.3531, allocations: 39.98 kB / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001679/0.3533, allocations: 52.83 kB / 444.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.3533, allocations: 8.062 kB / 444.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.355, allocations: 1.561 MB / 445.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3551, allocations: 0 / 445.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007339/0.3558, allocations: 422.3 kB / 446.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.76e-05/0.3559, allocations: 35.88 kB / 446.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.3559, allocations: 8 kB / 446.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.3561, allocations: 27.91 kB / 446.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.3563, allocations: 71.89 kB / 446.2 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.3563, allocations: 4 kB / 446.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.3565, allocations: 156.6 kB / 446.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3565, allocations: 0 / 446.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004205/0.3569, allocations: 75.94 kB / 446.5 MB, free: 8.109 MB / 350.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 (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.00146/0.3583, allocations: 367.2 kB / 446.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007364/0.3591, allocations: 294.5 kB / 447.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3591, allocations: 0 / 447.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.3594, allocations: 233.2 kB / 447.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.3599, allocations: 46.95 kB / 447.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.3615, allocations: 0.7172 MB / 448.1 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.362, allocations: 0.7441 MB / 448.8 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.3621, allocations: 27.42 kB / 448.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3621, allocations: 0 / 448.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of Templates: time 0.007537/0.3697, allocations: 4.048 MB / 452.9 MB, free: 1.68 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/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: 8.297514833975583]