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.001259/0.001259, allocations: 110.5 kB / 17.75 MB, free: 5.336 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.001305/0.001305, allocations: 191 kB / 18.68 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.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009646/0.0009646, allocations: 47.92 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.215, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003178/0.2182, allocations: 2.209 MB / 403.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2194, allocations: 0.6933 MB / 404.3 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.2195, allocations: 3.938 kB / 404.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.2197, allocations: 35.72 kB / 404.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.2199, allocations: 63.41 kB / 404.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.2202, allocations: 103.8 kB / 404.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.2205, allocations: 275.3 kB / 404.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.2207, allocations: 56.38 kB / 404.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.2208, allocations: 111.6 kB / 404.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.221, allocations: 119.5 kB / 405.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.2211, allocations: 20 kB / 405.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.2212, allocations: 63.95 kB / 405.1 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.2213, allocations: 51.83 kB / 405.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.2214, allocations: 115.4 kB / 405.3 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.2217, allocations: 284.2 kB / 405.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2217, allocations: 0 / 405.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2217, allocations: 0 / 405.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.2218, allocations: 0 / 405.6 MB, free: 4.695 MB / 318.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.0007763/0.2225, allocations: 0.5147 MB / 406.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.2226, allocations: 8.031 kB / 406.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.2226, allocations: 24.66 kB / 406.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.2229, allocations: 239.9 kB / 406.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.223, allocations: 12.81 kB / 406.4 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.223, allocations: 20.38 kB / 406.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.2234, allocations: 226 kB / 406.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.2234, allocations: 3.906 kB / 406.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.2235, allocations: 8 kB / 406.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2235, allocations: 4 kB / 406.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.2238, allocations: 173 kB / 406.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.2249, allocations: 0.7681 MB / 407.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.2252, allocations: 130.5 kB / 407.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.2254, allocations: 64.83 kB / 407.8 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.2254, allocations: 8 kB / 407.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.2254, allocations: 34.56 kB / 407.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.2255, allocations: 0 / 407.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001816/0.2273, allocations: 0.9862 MB / 408.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.2273, allocations: 59.39 kB / 408.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.2275, allocations: 207.8 kB / 409 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.2275, allocations: 29.7 kB / 409.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.2276, allocations: 148.2 kB / 409.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.2277, allocations: 71 kB / 409.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.529e-05/0.2278, allocations: 53.64 kB / 409.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2279, allocations: 334.8 kB / 409.7 MB, free: 268 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.2281, allocations: 79.95 kB / 409.7 MB, free: 188 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.2282, allocations: 124.1 kB / 409.9 MB, free: 48 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.2285, allocations: 173.4 kB / 410 MB, free: 15.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2286, allocations: 0 / 410 MB, free: 15.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004866/0.2291, allocations: 284.5 kB / 410.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2291, allocations: 8 kB / 410.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2291, allocations: 64 / 410.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/0.2293, allocations: 80.84 kB / 410.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.2295, allocations: 39.91 kB / 410.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004717/0.23, allocations: 0.6187 MB / 411.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.2302, allocations: 31.97 kB / 411.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.2302, allocations: 8 kB / 411.1 MB, free: 14.77 MB / 334.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.0001213/0.2303, allocations: 133.8 kB / 411.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.2304, allocations: 15.81 kB / 411.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.2305, allocations: 33.86 kB / 411.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.2305, allocations: 3.938 kB / 411.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2305, allocations: 4 kB / 411.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.611e-05/0.2306, allocations: 104.9 kB / 411.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.2306, allocations: 4 kB / 411.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.2308, allocations: 23.98 kB / 411.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.2309, allocations: 27.89 kB / 411.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007076/0.2316, allocations: 325.5 kB / 411.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005337/0.2322, allocations: 444.9 kB / 412.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000141/0.2323, allocations: 63.95 kB / 412.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.2324, allocations: 148.5 kB / 412.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of Backend: time 3.31e-07/0.2324, allocations: 0 / 412.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006884/0.2331, allocations: 249.8 kB / 412.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of SimCode: time 0.001138/0.2343, allocations: 1.087 MB / 413.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of Templates: time 0.006797/0.2411, allocations: 3.363 MB / 417.1 MB, free: 8.684 MB / 334.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 -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