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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=4000,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=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 109.5 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009951/0.0009951, allocations: 46.86 kB / 302 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08386/0.08487, allocations: 49.45 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003136/0.08804, allocations: 2.204 MB / 353.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.08913, allocations: 0.6816 MB / 354.4 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.79e-05/0.08924, allocations: 4 kB / 354.4 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.08941, allocations: 35.66 kB / 354.4 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.08958, allocations: 67.47 kB / 354.5 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.08988, allocations: 103.8 kB / 354.6 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.09015, allocations: 259.4 kB / 354.8 MB, free: 320 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.09029, allocations: 64.36 kB / 354.9 MB, free: 248 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.09044, allocations: 107.6 kB / 355 MB, free: 140 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.09061, allocations: 115.5 kB / 355.1 MB, free: 24 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.09065, allocations: 20 kB / 355.1 MB, free: 4 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.0908, allocations: 71.89 kB / 355.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.357e-05/0.09088, allocations: 51.81 kB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.091, allocations: 107.5 kB / 355.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.09132, allocations: 279 kB / 355.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.09133, allocations: 0 / 355.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.09134, allocations: 0 / 355.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.09136, allocations: 3.938 kB / 355.6 MB, free: 15.5 MB / 302.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.0007203/0.09208, allocations: 0.5223 MB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.09212, allocations: 8.031 kB / 356.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.09218, allocations: 24.73 kB / 356.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.09245, allocations: 235.9 kB / 356.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.09248, allocations: 16.81 kB / 356.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.09252, allocations: 20.36 kB / 356.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.09289, allocations: 230 kB / 356.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.09292, allocations: 0 / 356.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.09294, allocations: 7.984 kB / 356.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.09296, allocations: 8 kB / 356.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.09328, allocations: 165 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.09431, allocations: 0.7758 MB / 357.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.09464, allocations: 130.5 kB / 357.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.09479, allocations: 73.14 kB / 357.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.09482, allocations: 3.906 kB / 357.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.09485, allocations: 30.56 kB / 357.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.09485, allocations: 11.94 kB / 357.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001719/0.09658, allocations: 0.985 MB / 358.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.09662, allocations: 51.41 kB / 358.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.09681, allocations: 203.2 kB / 359.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.09684, allocations: 33.7 kB / 359.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.09693, allocations: 144.1 kB / 359.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.09698, allocations: 70.98 kB / 359.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.09707, allocations: 53.7 kB / 359.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.09718, allocations: 338.8 kB / 359.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.09734, allocations: 75.97 kB / 359.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.09752, allocations: 116.1 kB / 359.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.0978, allocations: 174.6 kB / 360.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.09781, allocations: 4 kB / 360.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004727/0.09829, allocations: 284.5 kB / 360.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.09832, allocations: 11.94 kB / 360.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.09833, allocations: 0 / 360.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/0.09856, allocations: 76.91 kB / 360.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.09871, allocations: 35.98 kB / 360.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004708/0.09919, allocations: 0.6302 MB / 361.1 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.09939, allocations: 20.02 kB / 361.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.09941, allocations: 11.98 kB / 361.2 MB, free: 9.57 MB / 302.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.000115/0.09954, allocations: 141.8 kB / 361.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.09959, allocations: 19.81 kB / 361.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.5e-05/0.09965, allocations: 25.86 kB / 361.4 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.09966, allocations: 3.938 kB / 361.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.09966, allocations: 0 / 361.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.09967, allocations: 4 kB / 361.4 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007851/0.1005, allocations: 0.6005 MB / 362 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1005, allocations: 0 / 362 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.1006, allocations: 27.98 kB / 362 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001678/0.1008, allocations: 68.81 kB / 362.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.1008, allocations: 4 kB / 362.1 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004107/0.1013, allocations: 0.6186 MB / 362.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1013, allocations: 0 / 362.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.1019, allocations: 420.3 kB / 363.1 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.102, allocations: 108.8 kB / 363.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.102, allocations: 8 kB / 363.2 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.1022, allocations: 23.97 kB / 363.2 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.1023, allocations: 19.97 kB / 363.2 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.1023, allocations: 4 kB / 363.3 MB, free: 7.348 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1024, allocations: 156.2 kB / 363.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1024, allocations: 0 / 363.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.1027, allocations: 75.94 kB / 363.5 MB, free: 7.121 MB / 302.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.0001658/0.1029, allocations: 122.2 kB / 363.6 MB, free: 6.992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004659/0.1034, allocations: 207.8 kB / 363.8 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1034, allocations: 0 / 363.8 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.1036, allocations: 95.89 kB / 363.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.104, allocations: 44.34 kB / 363.9 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.1052, allocations: 0.6644 MB / 364.6 MB, free: 5.957 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1055, allocations: 0.7402 MB / 365.3 MB, free: 5.188 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.97e-05/0.1056, allocations: 13.95 kB / 365.4 MB, free: 5.176 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.1056, allocations: 23.38 kB / 365.4 MB, free: 5.152 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1056, allocations: 0 / 365.4 MB, free: 5.152 MB / 302.1 MB Notification: Performance of Templates: time 0.006314/0.1119, allocations: 3.191 MB / 368.6 MB, free: 1.977 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (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 gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) 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) Reference file matches