Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001698/0.001698, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002158/0.002158, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 47.91 kB / 325.6 MB, free: 488 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09084/0.09239, allocations: 53.34 MB / 378.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003795/0.09619, allocations: 2.227 MB / 381.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.09764, allocations: 0.8101 MB / 381.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-05/0.09773, allocations: 4 kB / 381.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.09798, allocations: 55.56 kB / 382 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.09825, allocations: 115.2 kB / 382.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.09845, allocations: 79.83 kB / 382.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.09879, allocations: 283.4 kB / 382.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.09892, allocations: 48.56 kB / 382.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.09914, allocations: 119.6 kB / 382.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.09935, allocations: 119.5 kB / 382.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.09939, allocations: 20 kB / 382.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.09954, allocations: 83.97 kB / 382.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-05/0.09963, allocations: 55.77 kB / 382.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.09974, allocations: 95.58 kB / 383 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004164/0.1002, allocations: 310.7 kB / 383.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1002, allocations: 0 / 383.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1002, allocations: 4 kB / 383.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1002, allocations: 4 kB / 383.3 MB, free: 11.39 MB / 350.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.0008483/0.101, allocations: 477.2 kB / 383.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.101, allocations: 12.03 kB / 383.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.1012, allocations: 36.78 kB / 383.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.1016, allocations: 194.1 kB / 384 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.1016, allocations: 16.69 kB / 384 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.1016, allocations: 32.33 kB / 384.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.102, allocations: 218.7 kB / 384.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.102, allocations: 3.938 kB / 384.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.1021, allocations: 12 kB / 384.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1021, allocations: 4 kB / 384.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.1024, allocations: 151.3 kB / 384.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.1035, allocations: 0.6319 MB / 385.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.1039, allocations: 146.6 kB / 385.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.104, allocations: 64.84 kB / 385.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.104, allocations: 0 / 385.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1041, allocations: 42.55 kB / 385.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.052e-06/0.1041, allocations: 0 / 385.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001806/0.1059, allocations: 0.7558 MB / 386.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.1059, allocations: 55.41 kB / 386.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.1061, allocations: 196.8 kB / 386.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.1062, allocations: 29.7 kB / 386.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1063, allocations: 144.4 kB / 386.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/0.1063, allocations: 79.36 kB / 386.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.1064, allocations: 49.7 kB / 386.6 MB, free: 7.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1066, allocations: 330.8 kB / 386.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.1067, allocations: 71.97 kB / 387 MB, free: 7.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.1069, allocations: 111.3 kB / 387.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.1072, allocations: 156 kB / 387.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1072, allocations: 3.938 kB / 387.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004971/0.1077, allocations: 262.3 kB / 387.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1078, allocations: 7.938 kB / 387.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1078, allocations: 4.062 kB / 387.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/0.108, allocations: 60.86 kB / 387.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.1081, allocations: 35.92 kB / 387.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.1101, allocations: 1.692 MB / 389.3 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.1103, allocations: 19.98 kB / 389.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.1103, allocations: 11.98 kB / 389.4 MB, free: 4.969 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.0001399/0.1105, allocations: 137.7 kB / 389.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.1105, allocations: 19.91 kB / 389.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.593e-05/0.1106, allocations: 21.97 kB / 389.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1106, allocations: 3.938 kB / 389.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1106, allocations: 3.984 kB / 389.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1106, allocations: 8.062 kB / 389.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008774/0.1115, allocations: 0.5115 MB / 390.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1115, allocations: 4 kB / 390.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.1116, allocations: 35.97 kB / 390.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001629/0.1118, allocations: 52.83 kB / 390.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.1118, allocations: 4 kB / 390.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.1134, allocations: 1.534 MB / 391.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1134, allocations: 0 / 391.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007003/0.1141, allocations: 422.3 kB / 392.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-05/0.1142, allocations: 35.98 kB / 392.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.1142, allocations: 4 kB / 392.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.1144, allocations: 23.92 kB / 392.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.1146, allocations: 71.81 kB / 392.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1146, allocations: 8 kB / 392.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.1148, allocations: 147.3 kB / 392.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1148, allocations: 0 / 392.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004116/0.1152, allocations: 75.94 kB / 392.5 MB, free: 1.672 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.001413/0.1166, allocations: 390.6 kB / 392.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006407/0.1172, allocations: 298.4 kB / 393.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1172, allocations: 4.125 kB / 393.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.1176, allocations: 234.4 kB / 393.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.118, allocations: 35.98 kB / 393.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.1194, allocations: 0.6839 MB / 394.1 MB, free: 140 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.1195, allocations: 138.2 kB / 394.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.988e-05/0.1196, allocations: 29.92 kB / 394.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.1197, allocations: 24.5 kB / 394.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1197, allocations: 0 / 394.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Templates: time 0.008318/0.128, allocations: 3.754 MB / 398 MB, free: 12.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.460028238943778]