Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001138/0.001138, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.00114/0.00114, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 51.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08556/0.08739, allocations: 46.62 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003489/0.09092, allocations: 2.212 MB / 330.9 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.09217, allocations: 0.7254 MB / 331.6 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.09233, allocations: 7.938 kB / 331.7 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.09253, allocations: 35.66 kB / 331.7 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.09272, allocations: 63.47 kB / 331.8 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.09306, allocations: 103.8 kB / 331.9 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.09336, allocations: 259.4 kB / 332.1 MB, free: 328 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.09351, allocations: 72.31 kB / 332.2 MB, free: 256 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.09369, allocations: 111.6 kB / 332.3 MB, free: 144 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.09387, allocations: 115.5 kB / 332.4 MB, free: 28 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.09391, allocations: 20 kB / 332.4 MB, free: 8 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.09407, allocations: 75.89 kB / 332.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.09414, allocations: 51.81 kB / 332.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.779e-05/0.09425, allocations: 107.5 kB / 332.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.09457, allocations: 271.1 kB / 332.9 MB, free: 15.51 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.09458, allocations: 0 / 332.9 MB, free: 15.51 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.09459, allocations: 4 kB / 332.9 MB, free: 15.51 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.0946, allocations: 4 kB / 332.9 MB, free: 15.5 MB / 286.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.0007232/0.09533, allocations: 0.5069 MB / 333.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.09537, allocations: 12.03 kB / 333.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.09543, allocations: 28.59 kB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.09572, allocations: 231.9 kB / 333.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.09575, allocations: 16.81 kB / 333.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.09581, allocations: 24.28 kB / 333.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.09619, allocations: 234 kB / 334 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.09621, allocations: 0 / 334 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.09624, allocations: 8 kB / 334 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.09625, allocations: 4 kB / 334 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.09657, allocations: 165 kB / 334.1 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.09764, allocations: 0.7797 MB / 334.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.09799, allocations: 130.5 kB / 335 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.09813, allocations: 72.83 kB / 335.1 MB, free: 13.13 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.09816, allocations: 0 / 335.1 MB, free: 13.13 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.09819, allocations: 38.56 kB / 335.2 MB, free: 13.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.0982, allocations: 0 / 335.2 MB, free: 13.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.001747/0.09995, allocations: 0.9895 MB / 336.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.09999, allocations: 55.41 kB / 336.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.1002, allocations: 202.6 kB / 336.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1002, allocations: 29.7 kB / 336.4 MB, free: 11.67 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.1003, allocations: 140.2 kB / 336.6 MB, free: 11.53 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.1004, allocations: 70.98 kB / 336.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/0.1005, allocations: 61.61 kB / 336.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1006, allocations: 334.8 kB / 337 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.1007, allocations: 75.97 kB / 337.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.1009, allocations: 119.6 kB / 337.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.1012, allocations: 176.7 kB / 337.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1012, allocations: 0 / 337.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004818/0.1017, allocations: 279.9 kB / 337.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1017, allocations: 4 kB / 337.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1017, allocations: 0 / 337.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.102, allocations: 76.81 kB / 337.7 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.1021, allocations: 35.98 kB / 337.8 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004714/0.1026, allocations: 0.6225 MB / 338.4 MB, free: 9.625 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.1028, allocations: 20.02 kB / 338.4 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.1028, allocations: 11.98 kB / 338.4 MB, free: 9.594 MB / 286.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.000123/0.103, allocations: 145.8 kB / 338.6 MB, free: 9.441 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.103, allocations: 15.81 kB / 338.6 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.1031, allocations: 25.81 kB / 338.6 MB, free: 9.398 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.1031, allocations: 7.938 kB / 338.6 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1031, allocations: 3.984 kB / 338.6 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1031, allocations: 48 / 338.6 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008228/0.1039, allocations: 0.6053 MB / 339.2 MB, free: 8.719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.104, allocations: 3.938 kB / 339.2 MB, free: 8.715 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.1041, allocations: 27.98 kB / 339.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000169/0.1043, allocations: 72.8 kB / 339.3 MB, free: 8.613 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.1043, allocations: 8 kB / 339.3 MB, free: 8.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004281/0.1048, allocations: 0.6148 MB / 339.9 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1048, allocations: 4.031 kB / 340 MB, free: 7.961 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005915/0.1054, allocations: 414 kB / 340.4 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.273e-05/0.1055, allocations: 108.9 kB / 340.5 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.1055, allocations: 4 kB / 340.5 MB, free: 7.402 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.1057, allocations: 23.97 kB / 340.5 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.1058, allocations: 19.97 kB / 340.5 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.1058, allocations: 8 kB / 340.5 MB, free: 7.352 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.1059, allocations: 151 kB / 340.7 MB, free: 7.203 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1059, allocations: 4 kB / 340.7 MB, free: 7.199 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003224/0.1063, allocations: 67.94 kB / 340.7 MB, free: 7.133 MB / 286.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.0001624/0.1064, allocations: 127.1 kB / 340.9 MB, free: 7 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004719/0.1069, allocations: 207.6 kB / 341.1 MB, free: 6.797 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1069, allocations: 0 / 341.1 MB, free: 6.797 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.1072, allocations: 104.1 kB / 341.2 MB, free: 6.695 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.1076, allocations: 37.09 kB / 341.2 MB, free: 6.66 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.1087, allocations: 0.6532 MB / 341.9 MB, free: 5.977 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.109, allocations: 0.7517 MB / 342.6 MB, free: 5.199 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.795e-05/0.1091, allocations: 25.94 kB / 342.6 MB, free: 5.172 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.1092, allocations: 19.44 kB / 342.6 MB, free: 5.152 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1092, allocations: 0 / 342.6 MB, free: 5.152 MB / 286.1 MB Notification: Performance of Templates: time 0.00638/0.1156, allocations: 3.182 MB / 345.8 MB, free: 1.973 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches