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.001153/0.001153, allocations: 93.5 kB / 16.95 MB, free: 6.457 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.001349/0.001349, allocations: 182.7 kB / 17.84 MB, free: 6.008 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.443/1.443, allocations: 205.4 MB / 224 MB, free: 13.15 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.0004481/0.0004481, allocations: 12 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1086, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.002554/0.1112, allocations: 1.846 MB / 330.2 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1123, allocations: 0.6831 MB / 330.9 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1125, allocations: 7.938 kB / 330.9 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.1126, allocations: 27.78 kB / 330.9 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.1128, allocations: 59.59 kB / 331 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1131, allocations: 75.84 kB / 331 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.1133, allocations: 235.5 kB / 331.3 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.1135, allocations: 56.33 kB / 331.3 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.1136, allocations: 91.64 kB / 331.4 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.1138, allocations: 103.6 kB / 331.5 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.1139, allocations: 12 kB / 331.5 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.114, allocations: 55.91 kB / 331.6 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.091e-05/0.114, allocations: 39.88 kB / 331.6 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.1141, allocations: 61.58 kB / 331.7 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.1143, allocations: 195.8 kB / 331.9 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1144, allocations: 0 / 331.9 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1144, allocations: 0 / 331.9 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1144, allocations: 0 / 331.9 MB, free: 0.5312 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.0007993/0.1152, allocations: 494.9 kB / 332.4 MB, free: 16 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1152, allocations: 12.03 kB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.1153, allocations: 23.72 kB / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.1156, allocations: 230.7 kB / 332.6 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.1156, allocations: 16.44 kB / 332.6 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.1157, allocations: 23.91 kB / 332.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.1161, allocations: 221.7 kB / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.1161, allocations: 3.938 kB / 332.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.1162, allocations: 12 kB / 332.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1162, allocations: 4 kB / 332.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.1165, allocations: 165 kB / 333.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.1177, allocations: 0.7758 MB / 333.8 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.118, allocations: 134.5 kB / 334 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1182, allocations: 76.83 kB / 334 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1182, allocations: 4 kB / 334 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1183, allocations: 42.44 kB / 334.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.1183, allocations: 0 / 334.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.001887/0.1202, allocations: 1.018 MB / 335.1 MB, free: 13 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.1202, allocations: 55.41 kB / 335.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.1204, allocations: 210.5 kB / 335.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.1204, allocations: 29.7 kB / 335.4 MB, free: 12.68 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.1205, allocations: 140.2 kB / 335.5 MB, free: 12.54 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.1206, allocations: 71 kB / 335.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.582e-05/0.1206, allocations: 8 kB / 335.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1208, allocations: 334.8 kB / 335.9 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.1209, allocations: 75.95 kB / 336 MB, free: 12.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.1211, allocations: 119.6 kB / 336.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.1213, allocations: 85.08 kB / 336.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1213, allocations: 4 kB / 336.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005042/0.1218, allocations: 292 kB / 336.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.1218, allocations: 4 kB / 336.5 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1219, allocations: 4 kB / 336.5 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002873/0.1222, allocations: 68.81 kB / 336.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.1223, allocations: 35.92 kB / 336.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005951/0.1229, allocations: 0.6266 MB / 337.2 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.1231, allocations: 23.98 kB / 337.2 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.1232, allocations: 8 kB / 337.3 MB, free: 10.75 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 ($PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.1233, allocations: 145.8 kB / 337.4 MB, free: 10.6 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.1234, allocations: 19.72 kB / 337.4 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.801e-05/0.1235, allocations: 21.88 kB / 337.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1235, allocations: 4 kB / 337.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.1235, allocations: 3.953 kB / 337.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1235, allocations: 3.984 kB / 337.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008722/0.1244, allocations: 0.6014 MB / 338.1 MB, free: 9.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1244, allocations: 0 / 338.1 MB, free: 9.879 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.1246, allocations: 39.92 kB / 338.1 MB, free: 9.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001727/0.1247, allocations: 68.88 kB / 338.2 MB, free: 9.77 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1248, allocations: 8 kB / 338.2 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004463/0.1252, allocations: 0.6187 MB / 338.8 MB, free: 9.117 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1252, allocations: 0 / 338.8 MB, free: 9.117 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000584/0.1258, allocations: 421.6 kB / 339.2 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-05/0.1259, allocations: 113 kB / 339.3 MB, free: 8.551 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.126, allocations: 4 kB / 339.3 MB, free: 8.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.1261, allocations: 31.97 kB / 339.3 MB, free: 8.516 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.1262, allocations: 27.89 kB / 339.4 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.1263, allocations: 11.92 kB / 339.4 MB, free: 8.477 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.1264, allocations: 156 kB / 339.5 MB, free: 8.324 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1264, allocations: 0 / 339.5 MB, free: 8.324 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000397/0.1268, allocations: 64 kB / 339.6 MB, free: 8.262 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002246/0.1271, allocations: 119.2 kB / 339.7 MB, free: 8.137 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000479/0.1276, allocations: 203.8 kB / 339.9 MB, free: 7.938 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1276, allocations: 0 / 339.9 MB, free: 7.938 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.1278, allocations: 99.89 kB / 340 MB, free: 7.84 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.1282, allocations: 43.91 kB / 340.1 MB, free: 7.797 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.1297, allocations: 0.8207 MB / 340.9 MB, free: 6.945 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.13, allocations: 0.7326 MB / 341.6 MB, free: 6.188 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.47e-05/0.1301, allocations: 29.92 kB / 341.6 MB, free: 6.16 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.1302, allocations: 15.44 kB / 341.7 MB, free: 6.145 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1302, allocations: 0 / 341.7 MB, free: 6.145 MB / 286.1 MB Notification: Performance of Templates: time 0.006879/0.1371, allocations: 2.823 MB / 344.5 MB, free: 3.324 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