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.001421/0.001421, allocations: 111.9 kB / 17.28 MB, free: 6.199 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.001677/0.001677, allocations: 193.3 kB / 18.2 MB, free: 5.277 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.494/1.494, allocations: 205.1 MB / 224 MB, free: 12.45 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.001138/0.001138, allocations: 51.91 kB / 280.1 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1019, allocations: 46.64 MB / 326.8 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004256/0.1062, allocations: 2.243 MB / 329 MB, free: 2.527 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.1078, allocations: 0.7294 MB / 329.8 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.108, allocations: 4 kB / 329.8 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.1084, allocations: 23.78 kB / 329.8 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.1086, allocations: 59.59 kB / 329.8 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.109, allocations: 91.84 kB / 329.9 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.1094, allocations: 259.5 kB / 330.2 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.1097, allocations: 64.27 kB / 330.3 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.1099, allocations: 119.5 kB / 330.4 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.1102, allocations: 111.5 kB / 330.5 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.1103, allocations: 20 kB / 330.5 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.1104, allocations: 71.94 kB / 330.6 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1106, allocations: 43.84 kB / 330.6 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.1107, allocations: 111.5 kB / 330.7 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.1112, allocations: 279.3 kB / 331 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1112, allocations: 0 / 331 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.175e-06/0.1112, allocations: 0 / 331 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.1112, allocations: 0 / 331 MB, free: 0.5547 MB / 270.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.001129/0.1124, allocations: 0.5108 MB / 331.5 MB, free: 15.99 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1124, allocations: 8.031 kB / 331.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.981e-05/0.1125, allocations: 28.66 kB / 331.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.1129, allocations: 228 kB / 331.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.1129, allocations: 20.8 kB / 331.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.113, allocations: 24.28 kB / 331.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/0.1135, allocations: 230 kB / 332 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.1135, allocations: 0 / 332 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.1136, allocations: 11.94 kB / 332 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.1136, allocations: 4 kB / 332 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.114, allocations: 173 kB / 332.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.1156, allocations: 0.7719 MB / 333 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.1161, allocations: 138.5 kB / 333.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.1162, allocations: 68.83 kB / 333.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.1163, allocations: 4 kB / 333.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1163, allocations: 30.56 kB / 333.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.1163, allocations: 0 / 333.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002002/0.1183, allocations: 0.9898 MB / 334.2 MB, free: 13.03 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.1184, allocations: 55.34 kB / 334.3 MB, free: 12.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.1186, allocations: 198.8 kB / 334.5 MB, free: 12.76 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.1186, allocations: 29.7 kB / 334.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.1187, allocations: 144.2 kB / 334.6 MB, free: 12.58 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/0.1188, allocations: 70.98 kB / 334.7 MB, free: 12.51 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.966e-05/0.1189, allocations: 57.61 kB / 334.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1191, allocations: 334.8 kB / 335.1 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.1193, allocations: 75.97 kB / 335.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.1195, allocations: 119.5 kB / 335.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.1198, allocations: 168.8 kB / 335.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1198, allocations: 0 / 335.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00051/0.1203, allocations: 287.8 kB / 335.7 MB, free: 11.45 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1203, allocations: 8 kB / 335.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1204, allocations: 0 / 335.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004336/0.1208, allocations: 68.81 kB / 335.8 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.121, allocations: 39.91 kB / 335.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005558/0.1215, allocations: 0.6304 MB / 336.5 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.1217, allocations: 23.97 kB / 336.5 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.1217, allocations: 8 kB / 336.5 MB, free: 10.64 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.0001473/0.1219, allocations: 137.4 kB / 336.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.122, allocations: 23.88 kB / 336.7 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.26e-05/0.122, allocations: 25.86 kB / 336.7 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.122, allocations: 3.938 kB / 336.7 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.122, allocations: 3.938 kB / 336.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1221, allocations: 0 / 336.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008276/0.1229, allocations: 0.606 MB / 337.3 MB, free: 9.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1229, allocations: 0 / 337.3 MB, free: 9.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.1231, allocations: 27.98 kB / 337.3 MB, free: 9.742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002039/0.1233, allocations: 72.75 kB / 337.4 MB, free: 9.668 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.1233, allocations: 7.984 kB / 337.4 MB, free: 9.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004485/0.1238, allocations: 0.611 MB / 338 MB, free: 9.023 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1238, allocations: 0 / 338 MB, free: 9.023 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005855/0.1244, allocations: 421.8 kB / 338.4 MB, free: 8.586 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.1245, allocations: 105 kB / 338.5 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.1245, allocations: 7.984 kB / 338.5 MB, free: 8.457 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.1247, allocations: 15.98 kB / 338.5 MB, free: 8.441 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.1248, allocations: 23.97 kB / 338.6 MB, free: 8.418 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1248, allocations: 11.98 kB / 338.6 MB, free: 8.406 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.125, allocations: 159.9 kB / 338.7 MB, free: 8.25 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.125, allocations: 0 / 338.7 MB, free: 8.25 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003321/0.1253, allocations: 71.94 kB / 338.8 MB, free: 8.18 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.0002025/0.1255, allocations: 135.2 kB / 338.9 MB, free: 8.039 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000504/0.126, allocations: 203.7 kB / 339.1 MB, free: 7.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.126, allocations: 0 / 339.1 MB, free: 7.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.1263, allocations: 104.1 kB / 339.2 MB, free: 7.738 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.1267, allocations: 39.77 kB / 339.3 MB, free: 7.699 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.128, allocations: 0.7311 MB / 340 MB, free: 6.938 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.1283, allocations: 0.7478 MB / 340.8 MB, free: 6.164 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.305e-05/0.1284, allocations: 21.88 kB / 340.8 MB, free: 6.141 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.1285, allocations: 19.44 kB / 340.8 MB, free: 6.121 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1285, allocations: 0 / 340.8 MB, free: 6.121 MB / 286.1 MB Notification: Performance of Templates: time 0.006942/0.1354, allocations: 3.083 MB / 343.9 MB, free: 3.039 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches