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.0008303/0.0008303, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003313/0.003313, allocations: 161 kB / 24.7 MB, free: 9.41 MB / 18.57 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 0.8588/0.8588, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.613e-06/1.613e-06, allocations: 0 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.105e-05/3.266e-05, allocations: 4.672 kB / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.002747/0.00278, allocations: 2.241 MB / 328.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009956/0.003775, allocations: 0.8178 MB / 328.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.003883, allocations: 7.938 kB / 328.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.004121, allocations: 51.52 kB / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.004344, allocations: 107.2 kB / 329 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.004518, allocations: 83.83 kB / 329.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.004745, allocations: 291.1 kB / 329.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.004877, allocations: 48.52 kB / 329.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.005103, allocations: 179.5 kB / 329.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.005256, allocations: 95.75 kB / 329.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.005283, allocations: 24 kB / 329.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.005392, allocations: 79.91 kB / 329.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.005452, allocations: 55.81 kB / 329.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.005509, allocations: 79.77 kB / 330 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.00582, allocations: 315 kB / 330.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.005824, allocations: 0 / 330.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.005825, allocations: 4 kB / 330.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.005829, allocations: 0 / 330.3 MB, free: 10.98 MB / 298.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.0006124/0.006442, allocations: 484.5 kB / 330.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.006477, allocations: 12.03 kB / 330.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.006623, allocations: 32.78 kB / 330.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.006918, allocations: 189.3 kB / 331 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.006938, allocations: 20.75 kB / 331 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.00697, allocations: 20.38 kB / 331 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.007228, allocations: 218.9 kB / 331.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.007243, allocations: 4.141 kB / 331.2 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.007261, allocations: 16.36 kB / 331.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.007268, allocations: 7.938 kB / 331.3 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.007605, allocations: 151.3 kB / 331.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.008311, allocations: 0.6203 MB / 332 MB, free: 9.129 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.008585, allocations: 150.6 kB / 332.2 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.189e-05/0.008667, allocations: 64.83 kB / 332.2 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.008682, allocations: 0 / 332.2 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.0087, allocations: 38.56 kB / 332.3 MB, free: 8.859 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 9.12e-07/0.008701, allocations: 0 / 332.3 MB, free: 8.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001117/0.009818, allocations: 0.7551 MB / 333 MB, free: 8.051 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.009857, allocations: 59.34 kB / 333.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.01, allocations: 204.4 kB / 333.3 MB, free: 7.773 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.01002, allocations: 29.7 kB / 333.3 MB, free: 7.738 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.01009, allocations: 148.4 kB / 333.5 MB, free: 7.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.01013, allocations: 75.36 kB / 333.5 MB, free: 7.516 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.01018, allocations: 49.7 kB / 333.6 MB, free: 7.461 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.883e-05/0.01026, allocations: 338.8 kB / 333.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.092e-05/0.01035, allocations: 67.97 kB / 334 MB, free: 7.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.01046, allocations: 115.3 kB / 334.1 MB, free: 6.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.01063, allocations: 160 kB / 334.2 MB, free: 6.762 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.01064, allocations: 0 / 334.2 MB, free: 6.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003082/0.01094, allocations: 262.2 kB / 334.5 MB, free: 6.496 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.01096, allocations: 8.062 kB / 334.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.01096, allocations: 0 / 334.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/0.01113, allocations: 64.8 kB / 334.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.238e-05/0.01121, allocations: 39.91 kB / 334.6 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.0124, allocations: 1.685 MB / 336.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.583e-05/0.01249, allocations: 27.91 kB / 336.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.01251, allocations: 8 kB / 336.3 MB, free: 4.562 MB / 298.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 9.659e-05/0.0126, allocations: 133.8 kB / 336.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.01263, allocations: 19.91 kB / 336.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.01267, allocations: 29.95 kB / 336.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.01267, allocations: 64 / 336.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.01267, allocations: 4 kB / 336.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01267, allocations: 0 / 336.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/0.0132, allocations: 0.5201 MB / 337 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.0132, allocations: 0 / 337 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-05/0.01329, allocations: 27.98 kB / 337.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.0134, allocations: 56.83 kB / 337.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.01341, allocations: 8.062 kB / 337.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.01443, allocations: 1.527 MB / 338.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01443, allocations: 3.938 kB / 338.7 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.01482, allocations: 425.3 kB / 339.1 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.01487, allocations: 35.86 kB / 339.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.01489, allocations: 11.94 kB / 339.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.01498, allocations: 19.98 kB / 339.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.01508, allocations: 67.88 kB / 339.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.01509, allocations: 12 kB / 339.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.862e-05/0.01518, allocations: 143.4 kB / 339.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01518, allocations: 0 / 339.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002819/0.01546, allocations: 71.94 kB / 339.4 MB, free: 1.277 MB / 298.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.000642/0.0161, allocations: 389.9 kB / 339.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000448/0.01655, allocations: 310.4 kB / 340.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01655, allocations: 0 / 340.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.01673, allocations: 218.5 kB / 340.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.017, allocations: 36.75 kB / 340.4 MB, free: 480 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008585/0.01786, allocations: 0.6301 MB / 341 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.108e-05/0.01795, allocations: 134.2 kB / 341.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.018, allocations: 20.5 kB / 341.1 MB, free: 15.63 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.018, allocations: 0 / 341.1 MB, free: 15.63 MB / 314.7 MB Notification: Performance of Templates: time 0.004336/0.02234, allocations: 4.096 MB / 345.2 MB, free: 11.54 MB / 314.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins/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.790210567414761]