Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 173.4 MB / 201.1 MB, free: 12.61 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 52.06 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09127/0.09282, allocations: 52.15 MB / 371.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003585/0.0964, allocations: 2.128 MB / 373.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.09772, allocations: 0.6467 MB / 374.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.09783, allocations: 7.938 kB / 374.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.09801, allocations: 27.72 kB / 374.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.09821, allocations: 79.41 kB / 374.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.09857, allocations: 103.8 kB / 374.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.09888, allocations: 259.4 kB / 374.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.09903, allocations: 51.38 kB / 374.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.09919, allocations: 107.6 kB / 375 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.0994, allocations: 107.5 kB / 375.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.09944, allocations: 16 kB / 375.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.09958, allocations: 71.95 kB / 375.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.868e-05/0.09967, allocations: 59.75 kB / 375.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.09977, allocations: 87.59 kB / 375.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.1001, allocations: 282.9 kB / 375.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1001, allocations: 0 / 375.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1001, allocations: 4 kB / 375.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1002, allocations: 0 / 375.6 MB, free: 3.336 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008047/0.101, allocations: 449.7 kB / 376 MB, free: 2.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.101, allocations: 12.92 kB / 376 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.1011, allocations: 28.8 kB / 376 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.1014, allocations: 190 kB / 376.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.1014, allocations: 12.88 kB / 376.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.1014, allocations: 20.38 kB / 376.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.1018, allocations: 222.8 kB / 376.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1019, allocations: 4 kB / 376.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.1019, allocations: 8 kB / 376.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1019, allocations: 4 kB / 376.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.1022, allocations: 173 kB / 376.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.1034, allocations: 0.6261 MB / 377.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.1037, allocations: 122.5 kB / 377.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.1039, allocations: 60.84 kB / 377.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1039, allocations: 4 kB / 377.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.1039, allocations: 38.55 kB / 377.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.462e-06/0.1039, allocations: 0 / 377.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002178/0.1061, allocations: 0.7635 MB / 378.3 MB, free: 452 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.1062, allocations: 55.41 kB / 378.3 MB, free: 384 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.1065, allocations: 198.6 kB / 378.5 MB, free: 172 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.1065, allocations: 29.7 kB / 378.6 MB, free: 136 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.1067, allocations: 144.6 kB / 378.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.1068, allocations: 75.38 kB / 378.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.1069, allocations: 49.7 kB / 378.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.1071, allocations: 330.6 kB / 379.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.1073, allocations: 79.94 kB / 379.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.1075, allocations: 121.2 kB / 379.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.1079, allocations: 176.7 kB / 379.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1079, allocations: 8 kB / 379.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008351/0.1087, allocations: 280.6 kB / 379.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1087, allocations: 4 kB / 379.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1087, allocations: 4 kB / 379.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/0.1091, allocations: 68.81 kB / 379.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.1093, allocations: 39.92 kB / 379.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007894/0.1101, allocations: 0.6304 MB / 380.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.1104, allocations: 23.97 kB / 380.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.1104, allocations: 4 kB / 380.6 MB, free: 14.04 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 (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.0001955/0.1106, allocations: 133.8 kB / 380.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/0.1107, allocations: 15.91 kB / 380.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.259e-05/0.1108, allocations: 25.8 kB / 380.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.1108, allocations: 7.938 kB / 380.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1108, allocations: 0 / 380.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1108, allocations: 4.062 kB / 380.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.1121, allocations: 0.5121 MB / 381.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1121, allocations: 0 / 381.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.1123, allocations: 31.92 kB / 381.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002549/0.1126, allocations: 64.81 kB / 381.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.1126, allocations: 12.06 kB / 381.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007051/0.1133, allocations: 0.6187 MB / 382 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.1133, allocations: 3.938 kB / 382 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000975/0.1143, allocations: 409.8 kB / 382.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.1144, allocations: 31.88 kB / 382.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.1145, allocations: 4 kB / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.1147, allocations: 20.05 kB / 382.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.62e-05/0.1148, allocations: 27.95 kB / 382.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.1149, allocations: 8.141 kB / 382.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.1151, allocations: 139.8 kB / 382.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1151, allocations: 0 / 382.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005901/0.1157, allocations: 67.94 kB / 382.7 MB, free: 11.82 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 (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.0002625/0.1159, allocations: 131 kB / 382.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007138/0.1166, allocations: 198.6 kB / 383 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1166, allocations: 4 kB / 383 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.117, allocations: 99.89 kB / 383.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/0.1177, allocations: 31.92 kB / 383.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.1197, allocations: 0.6613 MB / 383.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.1199, allocations: 133.2 kB / 383.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.12, allocations: 17.95 kB / 383.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.1201, allocations: 20.5 kB / 384 MB, free: 10.47 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1201, allocations: 0 / 384 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Templates: time 0.0105/0.1306, allocations: 2.881 MB / 386.8 MB, free: 7.629 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.367851455928758]